P3 · MediumCVSS 4.7
validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL
- CVE-2026-144581
- GHSA-jh64-vcm7-ghm4
- EUVD-2026-143866
Description
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
validatorjs validator.js
Affected versions Fixed in from 13.15.22 up to 13.15.35 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.