CVE-2025-56200
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
validator (npm)before 13.15.20GitHub Advisory Database
validator_project validatorup to 3.15.15NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2025-56200 changed 2026-07-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-9965-vmph-33xx changed 2026-09-10CC-BY-4.0
NVDCVE-2025-56200 changed 2026-07-05Public domain