cve.bz

CVE-2021-23384

5.4 mediumEPSS 0.8%

Medium (5.4) in koa-remove-trailing-slashes project koa-remove-trailing-slashes. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in koa-remove-trailing-slashes 2.0.2.

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.

Severity

CVSS 3.1

5.4 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 57% of CVEs (scores of 2026-10-31)
CWE
CWE-601
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r773-pmw3-f4mrnpmkoa-remove-trailing-slashes<2.0.22.0.2

References

Check your stackJSON