{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-27515","id":"CVE-2021-27515","title":"Path traversal in url-parse","description":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","descriptionLong":"url-parse before 1.5.0 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","published":"2021-02-21T00:00:00.000Z","updated":"2026-10-20T10:54:35.299175754Z","reserved":"2021-02-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"url-parse","purl":"pkg:npm/url-parse","ranges":[">=0.1.0 <1.5.0"],"fixed":["1.5.0"],"advisory":"GHSA-9m6j-fcg5-2442"}],"cwes":["CWE-23"],"aliases":["GHSA-9m6j-fcg5-2442"],"references":[{"url":"https://github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/unshiftio/url-parse/pull/197","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.0","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4306","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/02/msg00030.html","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27515","tags":["advisory"]},{"url":"https://github.com/github/advisory-database/pull/6763","tags":["web"]},{"url":"https://github.com/unshiftio/url-parse","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01988,"epssPercentile":0.81119,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-27515","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27515","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-27515","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9m6j-fcg5-2442","ok":true,"note":"GHSA-9m6j-fcg5-2442"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-27515","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}