Skip to main content
VulnerabilityPublished

CVE-2026-144581: validatorjs validator.js · Cross-site Scripting

Affects validatorjs validator.jsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.3 Low.

Data as of 4 Dec 2026, 02:17 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.02.3
CNA (VulnCheck)CVSS 3.14.7
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
validatorjsvalidator.jsAffected
  • >=13.15.22 <=13.15.35
Fixed in–
npmvalidator.jspkg:npm/validator.jsOther threatsAffected
  • >=13.15.22 <=13.15.35
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, applications using validator.js should avoid using require_tld: false or sanitize URLs before rendering them to prevent XSS risks.

Description

validator.js versions 13.15.22 through 13.15.35 contain a cross-site scripting (XSS) vulnerability due to improper neutralization of input during web page generation. The isURL() function misparses javascript: URLs as host and port pairs, bypassing the cleanUpProtocol() check. This allows attackers to submit crafted links that can execute scripts when clicked in applications using require_tld: false.

References

Community reviews

Loading reviews…