CVE-2020-26291: URI.js is a javascript URL mutation library (npm package urijs)
CVE-2020-26291 is a medium-severity flaw (CVSS 6.5) affecting uri.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
URI.js is a javascript URL mutation library (npm package urijs). In URI.js before version 1.19.4, the hostname can be spoofed by using a backslash (`\`) character followed by an at (`@`) character. If the hostname is used in security decisions, the decision may be incorrect. Depending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior. For example the URL
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2020-12-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-26291?
uri.js: upgrade to 1.19.4. Exact commands for each OS are on this page.
Is CVE-2020-26291 being exploited?
CVE-2020-26291 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-26291 affect?
CVE-2020-26291 affects uri.js. Severity is medium (CVSS 6.5). URI.js is a javascript URL mutation library (npm package urijs). In URI.js before version 1.19.4, the hostname can be spoofed by using a backslash (`\`) character followed by an at (`@`) character. If the hostname is used in security decisi
How urgent is CVE-2020-26291?
Priority 42/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2022-24723 MEDIUM 5.3 UPGRADE URI.js is a Javascript URL mutation library
- CVE-2022-1243 MEDIUM 6.1 UPGRADE CRHTLF can lead to invalid protocol extraction potentially leading to XSS in GitHub repository medialize/uri.j
- CVE-2022-1233 MEDIUM 6.1 UPGRADE URL Confusion When Scheme Not Supplied in GitHub repository medialize/uri.js prior to 1.19.11.
- CVE-2022-0868 MEDIUM 6.1 UPGRADE Open Redirect in GitHub repository medialize/uri.js prior to 1.19.10.
- CVE-2022-0613 MEDIUM 6.5 UPGRADE MITIGATE Authorization Bypass Through User-Controlled Key in NPM urijs prior to 1.19.8.