MediumGHSA-9965-vmph-33xxCVE-2025-56200

validator.js has a URL validation bypass vulnerability in its isURL function

Published 30 Sept 2025 · Updated 10 Sept 2026

Affected package

Affected
<13.15.20
Fixed in
13.15.20
Update to the fixed version for your release line, for example:npm install validator@13.15.20

Details

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.

Is GHSA-9965-vmph-33xx in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected validator, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.