Open Redirect in Koa-Remove-Trailing-Slashes Project
CVE-2021-23384
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.008 · 58.3th percentile
- Published
- 2021-05-17
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.
Vulnerability class: Open Redirect
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.008, 58.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Koa-Remove-Trailing-Slashes Project
- Koa-Remove-Trailing-Slashes — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-KOAREMOVETRAILINGSLASHES-1085708 (Exploit, Third Party Advisory)
- github.com/vgno/koa-remove-trailing-slashes/blame/6a01ba8fd019bd3ece44879c55303… (Broken Link)