Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / n/a | affected n/a |
CWE
No CWE identifiers supplied.
References
- https://gist.github.com/junan-98/a93130505b258b9e4ec9f393e7533596
- https://github.com/validatorjs/validator.js
- https://gist.github.com/junan-98/27ae092aa40e2a057d41a0f95148f666
ADP enrichment
No English description supplied.
No references supplied.