koa-remove-trailing-slashes
Affected
- introduced
0, fixed2.0.2(semver)
Fixed versions
2.0.2
Fix
- Fixed version
2.0.2npm install [email protected]
Advisory
Also known as: CVE-2021-23384
Open Redirect in koa-remove-trailing-slashes
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.0.2 (semver)2.0.2
2.0.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0