CVE-2022-2900: Server-Side Request Forgery (SSRF) in parse-url

parse-url Updated 02 Oct 2025

Summary

15/09/2022
Yes i
Critical
9.1

CVE-2022-2900: Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url. Affects parse-url versions < 8.1.0. Fixed in 8.1.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

parse-url is an npm package that provides a utility for parsing and manipulating URLs. It is commonly used in web applications to extract information from URLs. However, versions prior to 8.1.0 are vulnerable to a Server-Side Request Forgery (SSRF) attack.

Vulnerability Detail

The SSRF vulnerability in parse-url allows an attacker to make arbitrary HTTP requests from the server-side, potentially leading to unauthorized access to internal resources or remote code execution. This vulnerability arises due to insufficient input validation and sanitization of user-supplied URLs. An attacker can craft a malicious URL that triggers the SSRF vulnerability and exploit it to perform actions on behalf of the server, bypassing any client-side security measures.

How To Fix

Latest published version: 11.1.0 as of 22 Oct 2026

npm install parse-url@11.1.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

8.1.0

This is the first release that contains the fix.

npm install parse-url@8.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The SSRF vulnerability in parse-url prior to version 8.1.0 can lead to unauthorized access to internal resources and potential remote code execution. It is crucial to upgrade parse-url to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for parse-url →

Share this vulnerability

FAQ

Server-Side Request Forgery (SSRF) is a type of vulnerability that allows an attacker to make requests from the server-side, potentially accessing internal resources or performing actions on behalf of the server.

The SSRF vulnerability in parse-url can lead to unauthorized access to internal resources, remote code execution, and potential data breaches.

Currently, there is no known workaround for this vulnerability. It is recommended to upgrade parse-url to the latest version.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will provide real-time alerts for open-source vulnerabilities.

For further support on vulnerability remediation, you can contact info@devnack.com. They can provide guidance and assistance in fixing this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for parse-url.

How To Fix

Latest published version: 11.1.0 as of 22 Oct 2026

npm install parse-url@11.1.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

8.1.0

This is the first release that contains the fix.

npm install parse-url@8.1.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback