6.1
CVE-2021-23387
- EPSS 1.15%
- Veröffentlicht 24.05.2021 19:15:07
- Zuletzt bearbeitet 21.11.2024 05:51:37
- Quelle report@snyk.io
- CVE-Watchlists
- Unerledigt
Open Redirect
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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Trailing-slash Project ≫ Trailing-slash SwPlatformnode.js Version < 2.0.1
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 1.15% | 0.627 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| nvd@nist.gov | 6.1 | 2.8 | 2.7 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
| nvd@nist.gov | 5.8 | 8.6 | 4.9 |
AV:N/AC:M/Au:N/C:P/I:P/A:N
|
| report@snyk.io | 5.4 | 2.8 | 2.5 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
|
CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
https://github.com/fardog/trailing-slash/blob/f640ece055fe85275c983de5eb94661b95e35670/index.js%23L36
https://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048
https://snyk.io/vuln/SNYK-JS-TRAILINGSLASH-1085707