CVE-2021-27515Url-parse Project Url-parse
Medium 5.3 No auth needed
Follow: this CVE · Url-parse Project · Url-parse Project Url-parse We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Url-parse.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| url-parse_project | url-parse | < 1.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- advisory.checkmarx.net Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org