validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript
Source GCVE Database
Not known to be exploited · CVSS 2.3 Low.
Data as of 4 Dec 2026, 04:44 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
Users and developers should avoid using vulnerable versions 13.15.22 through 13.15.35 of validator.js. If possible, upgrade to a fixed version once available or implement additional input validation and sanitization to prevent javascript: URLs from being accepted or rendered. Monitor the vendor advisory for official remediation guidance.
Description
validator.js versions 13.15.22 through 13.15.35 contain a vulnerability in the isURL() function where a protocols allowlist bypass occurs. This flaw causes javascript: URLs to be misparsed as host and port pairs, bypassing the cleanUpProtocol() check. When applications use require_tld: false, attackers can submit crafted javascript: links that lead to cross-site scripting (XSS) when users click the rendered href.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144581 (opens in a new tab)
- 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)