NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-56200: validator.js has a URL validation bypass vulnerability in its isURL function

mediumCVSS 3.1 6.1GHSA-9965-vmph-33xx

A URL validation bypass vulnerability exists in validator.js prior to version 13.15.20. The isURL() function uses '://' as a delimiter to parse protocols, while browsers use ':' as the delimiter. This parsing difference allows attackers to bypass protocol and domain validation by crafting URLs leading to XSS and Open Redirect attacks.

Published Sep 30, 2025 · Updated Oct 27, 2025

Affected packages

validator

Ecosystem
npm
Affected
< 13.15.20
Fixed in
13.15.20
Check
npm ls validator

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

A URL validation bypass vulnerability exists in validator.js prior to version 13.15.20. The isURL() function uses '://' as a delimiter to parse protocols, while browsers use ':' as the delimiter. This parsing difference allows attackers to bypass protocol and domain validation by crafting URLs leading to XSS and Open Redirect attacks.

Credited to G-Rath, Moumouls, aleyipsoftwire.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries