validator.js 13.15.22 through 13.15.35 contains a protocols allowlist bypass in isURL() that misparses javascript: URLs as host and port pairs, skipping the cleanUpProtocol() check. Attackers can submit links like javascript:1/ followed by script to applications using requiretld: false, causing cross-site scripting when victims click the rendered href.
validator.js through 13.15.35 contains a host validation bypass vulnerability in isURL() that allows attackers to evade hostwhitelist and hostblacklist 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.