Cross-site scripting in validator.js isURL via javascript: URLs
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
validator.js from 13.15.22 through 13.15.35 contains a protocol allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, so the protocol check is skipped. Applications that use require_tld: false accept such links (CWE-79). A remote attacker who submits such a link can cause cross-site scripting when a victim clicks the rendered href.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| validatorjs | validator.js | 13.15.22 – 13.15.35 | — | No fix listed | CNA |
- validator.js Vendorvalidatorjs Affected 13.15.22 – 13.15.35 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for validator.js.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Timeline
- 2026-12-04 Threatist record created from CVE-2026-144581
- 2026-12-04 Alias added: GHSA-jh64-vcm7-ghm4
- 2026-12-04 CISA SSVC decision points changed
References
More validatorjs vulnerabilities
- TI-2026-103963 Host whitelist bypass in validator.js isURL via backslash before @ CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-144581 · CVE Program
- CVE-2026-144581 · NVD
- FIRST EPSS
- GHSA-jh64-vcm7-ghm4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences