CVE-2021-23387
MEDIUM 6.1EPSS 1.1%
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.
- CVSS v3.1
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1
- 5.4 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - CVSS v3.1
- 5.4 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N - CVSS v2.0
- 5.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N - EPSS
- 1.15% chance of exploitation in the next 30 days, 65th percentile
- Published
- 2021-05-24
- Updated
- 2024-09-17