CVE-2026-144581: validatorjs validator.js · Cross-site Scripting
Affects validatorjs validator.jsSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low.
Data as of 4 Dec 2026, 02:17 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.7 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| validatorjsvalidator.js | Affected
| Fixed in– |
npmvalidator.jspkg:npm/validator.jsOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, applications using validator.js should avoid using require_tld: false or sanitize URLs before rendering them to prevent XSS risks.
Description
validator.js versions 13.15.22 through 13.15.35 contain a cross-site scripting (XSS) vulnerability due to improper neutralization of input during web page generation. The isURL() function misparses javascript: URLs as host and port pairs, bypassing the cleanUpProtocol() check. This allows attackers to submit crafted links that can execute scripts when clicked in applications using require_tld: false.
References
- github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js (opens in a new tab)
- github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js (opens in a new tab)
- vulncheck.com/advisories/validator-js-13.15.22-through-13.15.35-isurl-protocols-allowlist-bypass-via-javascript-url (opens in a new tab)