{"id":"GHSA-rqff-837h-mm52","summary":"Authorization bypass in url-parse","details":"Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.","aliases":["CVE-2022-0512"],"modified":"2026-02-20T23:32:27.882011Z","published":"2022-02-15T00:02:46Z","database_specific":{"github_reviewed_at":"2022-02-16T22:37:39Z","nvd_published_at":"2022-02-14T16:15:00Z","cwe_ids":["CWE-639"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0512"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40"},{"type":"PACKAGE","url":"https://github.com/unshiftio/url-parse"},{"type":"WEB","url":"https://huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html"}],"affected":[{"package":{"name":"url-parse","ecosystem":"npm","purl":"pkg:npm/url-parse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"1.5.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-rqff-837h-mm52/GHSA-rqff-837h-mm52.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}