Home › CVE › JavaScript
CVE-2026-144581 — validatorjs validator.js
One of 2 validatorjs validator.js vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using require_tld: false, causing cross-site scripting when victims click the rendered href.
Severity breakdown
Low · 2.3
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- low on confidentiality and integrity, none on availability
- Impact on other systems
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| validatorjs validator.js | ≥ 13.15.22, ≤ 13.15.35 | — |
References by type
Other references
Affected
- validatorjs validator.js
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-144581?
validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using requiretld: false, causing cross-site scripting when victims click the rendered href. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-144581?
CVE-2026-144581 has a CVSS 4.0 base score of 2.3 (low), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-144581 being exploited?
Not as far as is known: CVE-2026-144581 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026.
Which versions are affected by CVE-2026-144581?
validatorjs validator.js ≥ 13.15.22, ≤ 13.15.35.
How do I fix CVE-2026-144581?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.