What’s Vulnerable › Vulnerabilities
CVE-2022-0639: Authorization Bypass Through User-Controlled Key in unshiftio/url-parse
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-17 · updated 2026-06-17
- Weakness: CWE-639
Description
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.7.
Affected products
- unshiftio/url-parse: before 1.5.7 — fixed in 1.5.7
- Npm Url-Parse: from 1.0.0 before 1.5.7 — fixed in 1.5.7
How to fix
Upgrade to a fixed version: unshiftio/url-parse 1.5.7; Npm Url-Parse 1.5.7. Check the vendor advisory for mitigations.
References
- https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788
- https://huntr.dev/bounties/83a6bc9a-b542-4a38-82cd-d995a1481155
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html
- https://github.com/unshiftio/url-parse/commit/ef45a1355375a8244063793a19059b4f62fc8788
- https://huntr.dev/bounties/83a6bc9a-b542-4a38-82cd-d995a1481155
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/12/msg00024.html
Get alerted when CVE-2022-0639 or the next vulnerability affects your stack