{"id":"CVE-2021-3664","aliases":["CVE-2021-3664","GHSA-hh27-ffr2-f2jc"],"related":[],"kind":"vulnerability","state":"published","title":"Open Redirect in unshiftio/url-parse","summary":"url-parse is vulnerable to URL Redirection to Untrusted Site","summarySource":"cvelist","descriptions":[{"lang":"en","text":"url-parse is vulnerable to URL Redirection to Untrusted Site","source":"cvelist"},{"lang":"en","text":"# Overview\n\nAffected versions of npm `url-parse` are vulnerable to URL Redirection to Untrusted Site.\n\n# Impact\n\nDepending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior.","format":"markdown","source":"ghsa"},{"lang":"es","text":"url-parse es vulnerable a una Redirección de URLs a Sitios no Confiables","source":"nvd"}],"published":"2021-07-26T00:00:00.000Z","modified":"2026-06-17T04:05:31.860Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"1.5.1","status":"affected"}],"vendor":"unshiftio","product":"unshiftio/url-parse","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"1.5.2"}],"ecosystem":"npm","package":"url-parse","purl":"pkg:npm/url-parse","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.5.2"}],"vendor":"url-parse_project","product":"url-parse","cpe":"cpe:2.3:a:url-parse_project:url-parse:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/1625557993985-unshiftio/url-parse","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3664","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/unshiftio/url-parse/issues/205","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/unshiftio/url-parse/issues/206","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/github/advisory-database/pull/6764","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/unshiftio/url-parse","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3664","url":"https://www.cve.org/CVERecord?id=CVE-2021-3664","licence":"CVE Terms of Use","modified":"2024-08-03T17:01:07.943Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hh27-ffr2-f2jc","url":"https://github.com/advisories/GHSA-hh27-ffr2-f2jc","licence":"CC-BY-4.0","modified":"2026-02-03T22:17:46.266Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3664","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3664","licence":"Public domain","modified":"2026-06-17T04:05:31.860Z"}],"updatedAt":"2026-11-25T22:58:02.867Z","epss":{"score":0.02116,"percentile":0.82365,"date":"2026-12-01T12:00:22.000Z"}}