Advisories

validator.js through 13.15.35 isURL Host Whitelist Bypass via Backslash

Go back
Severity
medium
Date
Affecting
  • validator.js <= 13.15.35

CWE
  • CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
CVSS
5.3
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Credit
Zachariah Mithani (AploSec)
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.