Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted javascript: URL to app
-
ExploitisURL() misparses host:port, skips cleanUpProtocol allowlist
-
ExecutionMalicious href rendered in page
-
ImpactVictim clicks link, script executes in browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the consuming application call validator.js isURL() with the non-default option require_tld: false, AND that the application subsequently render the user-supplied, validated value directly into a clickable href without additional protocol sanitization. The attack is further limited by required passive user interaction (UI:P): a victim must click the rendered javascript: link for the XSS to fire. Authentication: the CVSS vector contains PR:N, so link submission itself is unauthenticated. Applications that use default isURL() options (require_tld: true) or that do not reflect validated URLs into href attributes are not exploitable via this flaw. |
| Impact | All decision signals point to low real-world urgency. The input CVSS 4.0 base score is 2.3 (Low) with AV:N but AC:H, AT:P (a specific attack requirement) and UI:P (passive user interaction required), and impacts capped at Low across confidentiality and integrity (VC:L/VI:L/VA:N). The vuln.today Decision label is 'monitor', and there is no CISA KEV listing, no EPSS score provided, and no exploit/PoC reference in the input (references are only the vulnerable source lines on GitHub and the VulnCheck advisory). These signals are consistent rather than conflicting: a network-reachable XSS that nonetheless depends on a non-default configuration (require_tld: false) and on a victim clicking a rendered link. The one caveat is scope - this is an XSS that executes in the victim's browser, so the practical blast radius depends entirely on how the consuming application renders user-submitted links. This is a genuine but low-priority issue appropriate for routine patching and monitoring, not an emergency. Note: EPSS is not provided in the input, so exploitation-probability cannot be quantified here. |
| Exploit ScenarioDerived | An application uses validator.js isURL() with require_tld: false to validate user-submitted links, then renders accepted links as clickable href attributes. An attacker submits a value such as 'javascript:1/' followed by script, which isURL() misparses as a host/port pair and accepts because the cleanUpProtocol() allowlist check is skipped; when a victim later clicks the rendered link, the javascript: URL executes in their browser. No public exploit code is identified at time of analysis, and the high attack complexity plus required victim click (AC:H/AT:P/UI:P) make exploitation opportunistic rather than reliable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Cross-site scripting in validator.js 13.15.22 through 13.15.35 can occur when an application calls isURL() with the non-default require_tld: false option and renders the user-supplied value into a clickable href, because javascript: URLs are misparsed as host-and-port pairs and the cleanUpProtocol() allowlist check is skipped. The CVSS 4.0 score is 2.3 with high attack complexity and passive user interaction: the victim must click the rendered link, and the application must reflect the validated value without further protocol sanitization. Unauthenticated attackers can submit the crafted URL value, but no public exploit was identified at time of analysis, KEV status was not supplied, and the vuln.today decision label is monitor; all decision signals point to low real-world urgency.
RemediationAI
Patch status was not specified in the provided intelligence and no fixed version is listed; validator.js 13.15.35 is still within the affected range, so upgrade to the first release after 13.15.35 that the vendor identifies as fixed and track the VulnCheck advisory at https://www.vulncheck.com/advisories/validator-js-13.15.22-through-13.15.35-isurl-protocols-allowlist-bypass-via-javascript-url. Until a fixed release is confirmed, applications should avoid calling isURL() with require_tld: false for values that will be rendered as links, and applications that need that option should not place the returned value into an href without an independent protocol allowlist or output encoding. Those workarounds avoid the XSS sink but do not repair the protocol-allowlist bypass, and require_tld: true rejects hostnames without a TLD, which can break intranet, localhost, or single-label host use cases.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
validator.js is a JavaScript string-validation library, and isURL() applies protocol and TLD checks before returning a boolean. The affected CPE is cpe:2.3:a:validatorjs:validator.js:*:*:*:*:*:*:*:*, with EUVD narrowing the affected range to 13.15.22 through 13.15.35. In these versions, a javascript: URL can be parsed as a host and port pair, bypassing the cleanUpProtocol() step that enforces the protocols allowlist; the referenced source lines in isURL.js at tag 13.15.35 document the parsing and cleanup paths. The root cause class is CWE-79: the validation bypass becomes cross-site scripting only when the consuming application uses require_tld: false and writes the returned value into an href without an independent scheme allowlist. Applications using the default require_tld: true or not reflecting validated URLs into link attributes are not exploitable via this flaw. The independent assessment rates this CVSS 3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N; the high complexity and user-interaction metrics reflect the specific application configuration and victim click required, not an attacker-controlled parsing race.
Know when Validator Js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
AC:H reflects dependency on the non-default require_tld:false option; UI:R for the required victim click; PR:N as submission is unauthenticated; S:C and C:L/I:L for script execution in the victim's browser context.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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 require_tld: false, causing cross-site scripting when victims click the rendered href.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-143866
GHSA-jh64-vcm7-ghm4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB