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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 04 Dec 2026 01:30:00 +0000

Type Values Removed Values Added
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.
Title validator.js 13.15.22 through 13.15.35 isURL Protocols Allowlist Bypass via javascript: URL
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-04T01:09:01.357Z

Reserved: 2026-12-04T00:31:30.707Z

Link: CVE-2026-144581

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses