CVE-2021-27515
MEDIUM 5.3CVSS 3.1Path traversal in url-parse
url-parse before 1.5.0 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.
- Published
- 22 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-23
- Also known as
- GHSA-9m6j-fcg5-2442
- Sources
- NVDJSONOSV GHSA-9m6j-fcg5-2442JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
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.0 | 1.5.0 |
| OSV | npm | url-parse | >= 0.1.0, < 1.5.0 | 1.5.0 |
References
- https://advisory.checkmarx.net/advisory/CX-2021-4306 · Exploit, Third Party Advisory, WEB
- https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0 · Patch, Third Party Advisory, WEB
- https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0 · Patch, Third Party Advisory, WEB
- https://github.com/unshiftio/url-parse/pull/197 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-27515 · ADVISORY
- https://github.com/github/advisory-database/pull/6763 · WEB
- https://github.com/unshiftio/url-parse · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 22 Feb 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 May 2021)