Description
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 the delimiter. This parsing difference allows attackers to bypass protocol and domain validation by crafting URLs leading to XSS and Open Redirect attacks.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://gist.github.com/junan-98/27ae092aa40e2a057d41a0f95148f666Exploit, Third Party Advisory
- https://gist.github.com/junan-98/a93130505b258b9e4ec9f393e7533596Exploit, Third Party Advisory
- https://github.com/validatorjs/validator.jsProduct
Timeline
- Published
- Sep 30, 2025
- Last modified
- Jul 5, 2026
- NVD status
- Modified