Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-56200 EUVD-2025-31764GHSA-9965-vmph-33xx

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

Published Sep 30, 2025 · Updated Jul 5, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS validator.js No fix yet —
Ubuntu 16.04 LTS validator.js No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling saf 1.5.2-r0 —
Wolfi rolling sqlpad 7.5.7-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm validator < 13.15.20 13.15.20 GHSA-9965-vmph-33xx

Advisories 1

References