CVE-2025-56200
MEDIUM 6.1CVSS 3.1validator.js has a URL validation bypass vulnerability in its isURL function
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.
- Published
- 30 Sep 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-9965-vmph-33xx
- Sources
- NVDJSONOSV GHSA-9965-vmph-33xxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | validator_project | validatorcpe:2.3:a:validator_project:validator:*:*:*:*:*:node.js:*:* |
<= 3.15.15 | |
| OSV | npm | validator | < 13.15.20 | 13.15.20 |
References
- https://gist.github.com/junan-98/27ae092aa40e2a057d41a0f95148f666 · Exploit, Third Party Advisory, WEB
- https://gist.github.com/junan-98/a93130505b258b9e4ec9f393e7533596 · Exploit, Third Party Advisory, WEB
- https://github.com/validatorjs/validator.js · Product, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2025-56200 · ADVISORY
- https://github.com/validatorjs/validator.js/issues/2600 · WEB
- https://github.com/validatorjs/validator.js/pull/2608 · WEB
- https://github.com/validatorjs/validator.js/commit/cbef5088f02d36caf978f378bb845fe49bdc0809 · WEB
- https://github.com/validatorjs/validator.js/releases/tag/13.15.20 · WEB
- http://validatorjs.com · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Sep 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Sep 2025)