Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. url-parse
  4. ›
  5. CVE-2022-0512

CVE-2022-0512: Authorization bypass in url-parse

February 15, 2022 (updated February 20, 2026)

Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.6.

References

  • github.com/advisories/GHSA-rqff-837h-mm52
  • github.com/unshiftio/url-parse
  • github.com/unshiftio/url-parse/commit/9be7ee88afd2bb04e4d5a1a8da9a389ac13f8c40
  • huntr.dev/bounties/6d1bc51f-1876-4f5b-a2c2-734e09e8e05b
  • lists.debian.org/debian-lts-announce/2023/02/msg00030.html
  • nvd.nist.gov/vuln/detail/CVE-2022-0512

Code Behaviors & Features

Detect and mitigate CVE-2022-0512 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.0 before 1.5.6

Fixed versions

  • 1.5.6

Solution

Upgrade to version 1.5.6 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

npm/url-parse/CVE-2022-0512.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 26 Mar 2026 12:17:45 +0000.