{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23384","published":"2021-05-17T18:15:07.733000Z","last_modified":"2026-06-17T03:38:39.843000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:koa-remove-trailing-slashes_project:koa-remove-trailing-slashes:*:*:*:*:*:node.js:*:*","part":"a","vendor":"koa-remove-trailing-slashes_project","product":"koa-remove-trailing-slashes","version_end_excluding":"2.0.2"}],"cpes_truncated":false,"vendors":["koa-remove-trailing-slashes_project"],"products":["koa-remove-trailing-slashes_project/koa-remove-trailing-slashes"],"epss":{"score":0.00835,"percentile":0.58807,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-r773-pmw3-f4mr","ecosystem":"npm","name":"koa-remove-trailing-slashes","purl":"pkg:npm/koa-remove-trailing-slashes","ranges":[{"introduced":"0","fixed":"2.0.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-23384/","html_en":"/en/cve/CVE-2021-23384/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23384","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23384"},"untrusted":{"vendor_name":"Koa-remove-trailing-slashes Project","product_name":"Koa-remove-trailing-slashes","desc_en":"The package koa-remove-trailing-slashes before 2.0.2 are vulnerable to Open Redirect via the use of trailing double slashes in the URL when accessing the vulnerable endpoint (such as https://example.com//attacker.example/). The vulnerable code is in index.js::removeTrailingSlashes(), as the web server uses relative URLs instead of absolute URLs.","affected":[],"references":[{"url":"https://github.com/vgno/koa-remove-trailing-slashes/blame/6a01ba8fd019bd3ece44879c553037ad96ba7d47/index.js%23L31","tags":["Broken Link"]},{"url":"https://snyk.io/vuln/SNYK-JS-KOAREMOVETRAILINGSLASHES-1085708","tags":["Exploit","Third Party Advisory"]}]}}