6.1medium
validator.js has a URL validation bypass vulnerability in its isURL function
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.34% (higher than 29% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-9965-vmph-33xx
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| validator (npm) | before 13.15.20 | GitHub Advisory Database |
| validator_project validator | up to 3.15.15 | NVD |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Una vulnerabilidad de omisión de validación de URL existe en validator.js hasta la versión 13.15.15. La función isURL() utiliza '://' como delimitador para analizar protocolos, mientras que los navegadores utilizan ':' como delimitador. Esta diferencia de análisis permite a los atacantes omitir la validación de protocolo y dominio al crear URL que conducen a ataques de XSS y redirección abierta.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-56200 changed 2026-07-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9965-vmph-33xx changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-56200 changed 2026-07-05 | Public domain |