CVE-2020-26291 Details
Description
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 `https://expected-example.com\@observed-example.com` will incorrectly return `observed-example.com` if using an affected version. Patched versions correctly return `expected-example.com`. Patched versions match the behavior of other parsers which implement the WHATWG URL specification, including web browsers and Node's built-in URL class. Version 1.19.4 is patched against all known payload variants. Version 1.19.3 has a partial patch but is still vulnerable to a payload variant.]
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155 | CVE | PatchThird Party Advisory |
| https://github.com/medialize/URI.js/releases/tag/v1.19.4 | CVE | Release NotesThird Party Advisory |
| https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg | CVE | Third Party Advisory |
| https://www.npmjs.com/package/urijs | CVE | Third Party Advisory |
| https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155 | [email protected] | PatchThird Party Advisory |
| https://github.com/medialize/URI.js/releases/tag/v1.19.4 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg | [email protected] | Third Party Advisory |
| https://www.npmjs.com/package/urijs | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| uri.js project uri.js | < 1.19.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 29, 2022 | Reanalysis | [email protected] |
| Jan 6, 2021 | Initial Analysis | [email protected] |