validator.js has a URL validation bypass vulnerability in its isURL function
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-56200US | — | — | ||
A URL validation bypass vulnerability exists in validator.js through version 13.15.15. The isURL() function uses '://' as a delimiter to parse protocols, while browsers use ':' as… | ||||
02
references
External citations — patches, advisories, analysis.
- http://validatorjs.comWEB
- https://gist.github.com/junan-98/27ae092aa40e2a057d41a0f95148f666WEB
- https://gist.github.com/junan-98/a93130505b258b9e4ec9f393e7533596WEB
- https://github.com/validatorjs/validator.jsPACKAGE
- https://github.com/validatorjs/validator.js/commit/cbef5088f02d36caf978f378bb845fe49bdc0809WEB
- https://github.com/validatorjs/validator.js/issues/2600WEB
- https://github.com/validatorjs/validator.js/pull/2608WEB
- https://github.com/validatorjs/validator.js/releases/tag/13.15.20WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan