| Package | Affected versions | Patched versions |
|---|---|---|
| validator | ≤ 3.15.15 | |
| validator | < 13.15.20 | 13.15.20 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free