{"id":"GHSA-9m6j-fcg5-2442","summary":"Path traversal in url-parse","details":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","aliases":["CVE-2021-27515"],"modified":"2026-02-03T22:28:43.061066Z","published":"2021-05-06T16:10:51Z","database_specific":{"cwe_ids":["CWE-23"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-03-22T21:04:52Z","nvd_published_at":"2021-02-22T00:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27515"},{"type":"WEB","url":"https://github.com/github/advisory-database/pull/6763"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/pull/197"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CX-2021-4306"},{"type":"PACKAGE","url":"https://github.com/unshiftio/url-parse"},{"type":"WEB","url":"https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html"}],"affected":[{"package":{"name":"url-parse","ecosystem":"npm","purl":"pkg:npm/url-parse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"1.5.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-9m6j-fcg5-2442/GHSA-9m6j-fcg5-2442.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}