{"id":"CVE-2021-27515","aliases":["CVE-2021-27515","GHSA-9m6j-fcg5-2442"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal in url-parse","summary":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","source":"cvelist"},{"lang":"es","text":"url-parse versiones anteriores a 1.5.0, maneja inapropiadamente determinados usos de la barra invertida como http:\\/ e interpreta el URI como una ruta relativa","source":"nvd"}],"published":"2021-02-21T00:00:00.000Z","modified":"2026-06-17T03:45:00.447Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-23"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"1.5.0"}],"ecosystem":"npm","package":"url-parse","purl":"pkg:npm/url-parse","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.5.0"}],"vendor":"url-parse_project","product":"url-parse","cpe":"cpe:2.3:a:url-parse_project:url-parse:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/unshiftio/url-parse/pull/197","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4306","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27515","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/github/advisory-database/pull/6763","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/unshiftio/url-parse","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-27515","url":"https://www.cve.org/CVERecord?id=CVE-2021-27515","licence":"CVE Terms of Use","modified":"2024-08-03T21:26:09.243Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9m6j-fcg5-2442","url":"https://github.com/advisories/GHSA-9m6j-fcg5-2442","licence":"CC-BY-4.0","modified":"2026-02-03T22:20:02.973Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-27515","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27515","licence":"Public domain","modified":"2026-06-17T03:45:00.447Z"}],"updatedAt":"2026-11-25T22:58:00.002Z","epss":{"score":0.01988,"percentile":0.81213,"date":"2026-12-01T12:00:22.000Z"}}