PT-2025-40012 · Unknown · Validator.Js
Junan-98
·
Published
2025-09-30
·
Updated
2025-12-23
·
CVE-2025-56200
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
validator.js versions through 13.15.15
Description
A flaw exists in the URL validation process within validator.js. The
isURL() function utilizes '://' to identify protocols during parsing, differing from the ':' delimiter used by web browsers. This discrepancy enables attackers to circumvent protocol and domain validation checks, potentially leading to Cross-Site Scripting (XSS) and Open Redirect attacks. The vulnerable component is the isURL() function.Recommendations
Update to a version of validator.js newer than 13.15.15.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Validator.Js