Live threats

All CVEs / Url-parse Project

CVE-2021-27515Url-parse Project Url-parse

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Feb 22, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.

Original NVD text.

What to do

  1. Apply the vendor's security update for Url-parse.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm url-parse ≥ 0.1.0 < 1.5.0 1.5.0 npm install url-parse@1.5.0

Per OSV / GitHub Advisories (GHSA-9m6j-fcg5-2442). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
url-parse_projecturl-parse< 1.5.0

Official sources

References

Links published by the sources. Open them with care.