XSS in Validator Project
CVE-2025-56200
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 25.9th percentile
- Published
- 2025-09-30
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 25.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- validatorjs.com (Broken Link)
- gist.github.com/junan-98/a93130505b258b9e4ec9f393e7533596 (Exploit, Third Party Advisory)
- github.com/validatorjs/validator.js (Product)
- gist.github.com/junan-98/27ae092aa40e2a057d41a0f95148f666 (Exploit, Third Party Advisory)