validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash
- CVE-2026-144582
- GHSA-q4w2-2ppv-rrqm
- EUVD-2026-143865
Summary
validator.js through version 13.15.35 has a host validation bypass in its isURL() function. By inserting a backslash before an '@' in the URL authority, an attacker can evade host_whitelist and host_blacklist checks. isURL() parses such a URL as pointing to an allowed host, while WHATWG-conformant parsers resolve it to an attacker-chosen host. This can enable open redirects and bypass outbound fetch allowlists. The advisory assigns a CVSS score of 6.1. It is not listed in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
Description
validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade host_whitelist and host_blacklist checks by inserting a backslash before an '@' in the authority. Attackers can supply URLs that isURL() parses as an allowed host while WHATWG-conformant parsers resolve them to an attacker-chosen host, enabling open redirects and outbound fetch allowlist bypasses.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
validatorjs validator.js
Affected versions Fixed in up to 13.15.35 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.