# CVE-2022-2900: ionicabizau parse-url server-side request forgery

Source: https://junglewise.ai/threats/cve-2022-2900-ionicabizau-parse-url-server-side-request-forgery  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-09-15. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2022-2900 · Severity: low · CVSS 3.1 · Published 2022-09-15

parse-url is a popular Node.js library for parsing and normalizing URLs. A server-side request forgery (SSRF) vulnerability allows attackers to manipulate URL parsing logic, potentially enabling unauthorized network requests or access to internal services that the application can reach.

Technologies: [parse-url (npm)](https://junglewise.ai/threats/technologies/parse-url). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2022-2900 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-2900 being exploited in the wild.

**How severe is CVE-2022-2900?** Low severity, with a CVSS score of 3.1, published 15 September 2022.

**Which products and versions are affected?** parse-url (npm) SEMVER:introduced=0,fixed=8.1.0.

**Is there a fix for CVE-2022-2900?** Yes. parse-url (npm): upgrade to 8.1.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2022-2900 attacked?** It is attacked over the network.

**Am I affected by CVE-2022-2900?** Check whether you run parse-url (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- parse-url (npm): upgrade to 8.1.0 or later

  ```sh
  npm install parse-url@8.1.0
  ```


## Technical details

This SSRF vulnerability exists in parse-url versions prior to 8.1.0 and affects URL parsing logic (CWE-918). The root cause involves improper validation of URL input, allowing specially crafted URLs to bypass security checks. An attacker can supply malformed URLs to an application using the vulnerable library to trigger unintended network requests or access internal resources. The vulnerability requires the library to be called with attacker-controlled input. A patch was released in version 8.1.0, which adds URL validation and length limits to reject invalid URLs.

## Affected products

- ionicabizau parse-url prior to 8.1.0

## Identifiers

- CVE-2022-2900
- GHSA-j9fq-vwqv-2fm2

## Timeline

- 2022-09-15: disclosed
- 2022-08-03: patched: Version 8.1.0 released with fix adding URL validation and length limit

## References

- [https://github.com/ionicabizau/parse-url/commit/b88c81df8f4c5168af454eaa4f92afa9349e4e13](https://github.com/ionicabizau/parse-url/commit/b88c81df8f4c5168af454eaa4f92afa9349e4e13)

## Related threats

- [parse-url hostname spoofing via incorrect URL parsing](https://junglewise.ai/threats/cve-2022-3224-parse-url-hostname-spoofing-via-incorrect-url-parsing)
- [parse-url cross-site scripting vulnerability](https://junglewise.ai/threats/cve-2022-2217-parse-url-cross-site-scripting-vulnerability)
- [parse-url Server-Side Request Forgery](https://junglewise.ai/threats/cve-2022-2216-parse-url-server-side-request-forgery)
- [parse-url hostname confusion information disclosure](https://junglewise.ai/threats/cve-2022-0722-parse-url-hostname-confusion-information-disclosure)
- [parse-url cross-site scripting](https://junglewise.ai/threats/cve-2022-2218-parse-url-cross-site-scripting)
