5.8
CVSSv2

CVE-2021-23384

Published: 17/05/2021 Updated: 25/05/2021
CVSS v2 Base Score: 5.8 | Impact Score: 4.9 | Exploitability Score: 8.6
CVSS v3 Base Score: 5.4 | Impact Score: 2.5 | Exploitability Score: 2.8
VMScore: 516
Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N

Vulnerability Summary

The package koa-remove-trailing-slashes prior to 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 example.com//attacker.example/). The vulnerable code is in index.js::removeTrailingSlashes(), as the web server uses relative URLs instead of absolute URLs.

Vulnerability Trend

Vulnerable Product Search on Vulmon Subscribe to Product

koa-remove-trailing-slashes project koa-remove-trailing-slashes