Read the docs

Cross-site scripting in validator.js isURL via javascript: URLs

Priority LOW 12CWE-79Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00296 23rd percentileScored 2026-12-04
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
validatorjsvalidator.js13.15.22 – 13.15.35—No fix listedCNA
  • 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

  1. 2026-12-04 Threatist record created from CVE-2026-144581
  2. 2026-12-04 Alias added: GHSA-jh64-vcm7-ghm4
  3. 2026-12-04 CISA SSVC decision points changed

References

  • TI-2026-103963 Host whitelist bypass in validator.js isURL via backslash before @ CVSS 4.0MEDIUM 5.3

Sources