{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-27516","id":"CVE-2021-27516","title":"URIjs Hostname spoofing via backslashes in URL","description":"URI.js (aka urijs) before 1.19.6 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","descriptionLong":"URI.js (aka urijs) before 1.19.6 mishandles certain uses of backslash such as http:\\/ and interprets the URI as a relative path.","published":"2021-02-21T23:29:56.000Z","updated":"2026-10-20T10:47:52.406771441Z","reserved":"2021-02-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"urijs","purl":"pkg:npm/urijs","ranges":["<1.19.6"],"fixed":["1.19.6"],"advisory":"GHSA-p6j9-7xhc-rhwp"}],"cwes":["CWE-20"],"aliases":["GHSA-p6j9-7xhc-rhwp"],"references":[{"url":"https://github.com/medialize/URI.js/commit/a1ad8bcbc39a4d136d7e252e76e957f3ece70839","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/medialize/URI.js/releases/tag/v1.19.6","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2021-4305","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/medialize/URI.js/security/advisories/GHSA-p6j9-7xhc-rhwp","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27516","tags":["advisory"]},{"url":"https://github.com/medialize/URI.js","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02514,"epssPercentile":0.85184,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-27516","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27516","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-27516","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p6j9-7xhc-rhwp","ok":true,"note":"GHSA-p6j9-7xhc-rhwp"},{"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-27516","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}