trailing-slash
Affected
- introduced
0, fixed2.0.1(semver)
Fixed versions
2.0.1
Fix
- Fixed version
2.0.1npm install [email protected]
Advisory
Also known as: CVE-2021-23387, SNYK-JS-TRAILINGSLASH-1085707
Open Redirect in trailing-slash
The package trailing-slash before 2.0.1 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::createTrailing(), as the web server uses relative URLs instead of absolute URLs.
Medium Basis: The source's own band: MODERATE
0, fixed 2.0.1 (semver)2.0.1
2.0.1npm 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