CVE-2022-0691
CRITICAL 9.8CVSS 3.1url-parse incorrectly parses hostname / protocol due to unstripped leading control characters.
Authorization Bypass Through User-Controlled Key in NPM url-parse prior to 1.5.9.
- Published
- 21 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-639
- Also known as
- GHSA-jf5r-8hm2-f872
- Sources
- NVDJSONOSV GHSA-jf5r-8hm2-f872JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | url-parse_project | url-parsecpe:2.3:a:url-parse_project:url-parse:*:*:*:*:*:node.js:*:* |
< 1.5.9 | 1.5.9 |
| OSV | npm | url-parse | >= 0.1.0, < 1.5.9 | 1.5.9 |
References
- https://github.com/unshiftio/url-parse/commit/0e3fb542d60ddbf6933f22eb9b1e06e25eaa5b63 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/57124ed5-4b68-4934-8325-2c546257f2e4 · Exploit, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html · WEB
- https://security.netapp.com/advisory/ntap-20220325-0006/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0691 · ADVISORY
- https://github.com/github/advisory-database/pull/6765 · WEB
- https://github.com/unshiftio/url-parse · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 Feb 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Feb 2022)