CVE-2026-144581 PUBLISHED

validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL

Assigner: VulnCheck
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
CVSS Score: 2.3

Product Status

Vendor validatorjs
Product validator.js
Versions Default: unaffected
  • affected from 13.15.22 to 13.15.35 (incl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE