{"api_version":"1","generated_at":"2026-07-23T12:57:29+00:00","cve":"CVE-2020-26291","urls":{"html":"https://cve.report/CVE-2020-26291","api":"https://cve.report/api/cve/CVE-2020-26291.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26291","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26291"},"summary":{"title":"CVE-2020-26291","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.]","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-12-31 00:15:00","updated_at":"2022-11-29 15:00:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155","name":"https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"fix(parse): treat backslash as forwardslash in authority (#403) · medialize/URI.js@b02bf03 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg","name":"https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Hostname spoofing via backslashes in URL · Advisory · medialize/URI.js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.npmjs.com/package/urijs","name":"https://www.npmjs.com/package/urijs","refsource":"MISC","tags":["Third Party Advisory"],"title":"URIjs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/medialize/URI.js/releases/tag/v1.19.4","name":"https://github.com/medialize/URI.js/releases/tag/v1.19.4","refsource":"MISC","tags":["Release Notes","Third Party Advisory"],"title":"Release 1.19.4 (December 23rd 2020) · medialize/URI.js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26291","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26291","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"26291","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"uri.js_project","cpe5":"uri.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26291","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"urijs_project","cpe5":"urijs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26291","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"urijs_project","cpe5":"urijs","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-26291","qid":"983104","title":"Nodejs (npm) Security Update for urijs (GHSA-3329-pjwv-fjpg)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26291","STATE":"PUBLIC","TITLE":"Hostname spoofing in URI.js"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"URI.js","version":{"version_data":[{"version_value":"< 1.19.4"}]}}]},"vendor_name":"medialize"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.]"}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg","refsource":"CONFIRM","url":"https://github.com/medialize/URI.js/security/advisories/GHSA-3329-pjwv-fjpg"},{"name":"https://www.npmjs.com/package/urijs","refsource":"MISC","url":"https://www.npmjs.com/package/urijs"},{"name":"https://github.com/medialize/URI.js/releases/tag/v1.19.4","refsource":"MISC","url":"https://github.com/medialize/URI.js/releases/tag/v1.19.4"},{"name":"https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155","refsource":"MISC","url":"https://github.com/medialize/URI.js/commit/b02bf037c99ac9316b77ff8bfd840e90becf1155"}]},"source":{"advisory":"GHSA-3329-pjwv-fjpg","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-12-31 00:15:00","lastModifiedDate":"2022-11-29 15:00:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:uri.js_project:uri.js:*:*:*:*:*:*:*:*","versionEndExcluding":"1.19.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"26291","Ordinal":"187713","Title":"CVE-2020-26291","CVE":"CVE-2020-26291","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"26291","Ordinal":"1","NoteData":"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.]","Type":"Description","Title":null},{"CveYear":"2020","CveId":"26291","Ordinal":"2","NoteData":"2020-12-30","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"26291","Ordinal":"3","NoteData":"2020-12-30","Type":"Other","Title":"Modified"}]}}}