{"id":"CVE-2026-144581","summary":"validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL","details":"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.","modified":"2026-12-04T03:00:14.184268206Z","published":"2026-12-04T01:09:01.357Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144581.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/144xxx/CVE-2026-144581.json"},{"type":"PACKAGE","url":"https://github.com/validatorjs/validator.js"},{"type":"ARTICLE","url":"https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L150-L170"},{"type":"ARTICLE","url":"https://github.com/validatorjs/validator.js/blob/13.15.35/src/lib/isURL.js#L230-L258"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-144581"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/validator-js-13.15.22-through-13.15.35-isurl-protocols-allowlist-bypass-via-javascript-url"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/validatorjs/validator.js","events":[{"introduced":"f2b5c17dbe03f2ca9ad9122c597f81e86ce1a9a1"},{"last_affected":"7a8079709cd4cb27b2a1846e6f6508d68c9d928f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"13.15.22"},{"last_affected":"13.15.35"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["13.15.35","13.15.26","13.15.23","13.15.22"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-144581.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}