What’s Vulnerable › Vulnerabilities
CVE-2022-0512: 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.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-14 · updated 2026-06-17
- Weakness: CWE-639
Description
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.
Affected products
- unshiftio/url-parse: before 1.5.6 — fixed in 1.5.6
- Npm Url-Parse: from 0.1.0 before 1.5.6 — fixed in 1.5.6
How to fix
Upgrade to a fixed version: unshiftio/url-parse 1.5.6; Npm Url-Parse 1.5.6. Check the vendor advisory for mitigations.
References
- https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40
- https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html
- https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40
- https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html
Get alerted when CVE-2022-0512 or the next vulnerability affects your stack