Open redirect in url-parse
Overview
Affected versions of npm url-parse are vulnerable to URL Redirection to Untrusted Site.
Impact
Depending on library usage and attacker intent, impacts may include allow/block list bypasses, SSRF attacks, open redirects, or other undesired behavior.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | url-parse | >= 0.1.0, < 1.5.2 | 1.5.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-3664
- https://github.com/unshiftio/url-parse/issues/205
- https://github.com/unshiftio/url-parse/issues/206
- https://github.com/github/advisory-database/pull/6764
- https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0
- https://github.com/unshiftio/url-parse
- https://huntr.dev/bounties/1625557993985-unshiftio/url-parse
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-601- Platform
- npm
- Package
url-parse- Disclosed
- 10.08.2021
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hh27-ffr2-f2jc - CC BY 4.0
Vulnerability history: url-parse
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 08.2018 02.2022
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- Medium 6
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 0
- 2021: 2
- 2022: 5
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Open redirect in url-parse this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.