Medium
Security advisory
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-27515
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:42 UTC · Revision 1
Source evidence
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
osv:CVE-2021-27515
Complete source record
{
"id": "ced5ebf14dcd9c3f7378794053b763680cedb4e42352c328450c6dac68f4c890",
"url": "https://osv.dev/vulnerability/CVE-2021-27515",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-27515",
"summary": "url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.",
"evidence": "osv:CVE-2021-27515",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-27515",
"aliases": [
"CVE-2021-27515",
"GHSA-9m6j-fcg5-2442"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/unshiftio/url-parse",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "267a0c6f7ef1a58271be61611c5103daace602c9"
},
{
"fixed": "d1e7e8822f26e8a49794b757123b51386325b2b0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:url-parse_project:url-parse:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "d1e7e8822f26e8a49794b757123b51386325b2b0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.4.7",
"1.4.6",
"1.4.5",
"1.4.4",
"1.4.3",
"1.4.2",
"1.4.1",
"1.4.0",
"1.3.0",
"1.2.0",
"1.1.9",
"1.1.8",
"1.1.7",
"1.1.6",
"1.1.5",
"1.1.4",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.5",
"1.0.4",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0",
"0.2.3",
"0.2.2",
"0.2.1",
"0.2",
"0.1.5",
"0.1.4",
"0.1.3",
"0.1.2",
"0.1.1",
"0.1.0",
"0.1",
"0.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27515.json"
}
}
],
"modified": "2026-10-20T10:54:35.299175754Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html",
"https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0",
"https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0",
"https://github.com/unshiftio/url-parse/pull/197",
"https://advisory.checkmarx.net/advisory/CX-2021-4306"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-27515",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385676,
"published_at": "2021-02-22T00:15:12.543+00:00"
}