{"id":"EUVD-2021-1397","revision":"ce524fcb793e49b3b8a55f74ed211284","records":[{"revision":"ce524fcb793e49b3b8a55f74ed211284","observedAt":"2026-10-24T18:25:09.618+00:00","statement":{"source":"euvd","id":"EUVD-2021-1397","aliases":["CVE-2021-23387","GHSA-rfhr-62xp-2fp2"],"title":"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 ind…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C","score":5.4,"severity":null}],"references":["https://snyk.io/vuln/SNYK-JS-TRAILINGSLASH-1085707","https://github.com/fardog/trailing-slash/blob/f640ece055fe85275c983de5eb94661b95e35670/index.js%23L36","https://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1397","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 24, 2021, 6:16:34 PM","dateUpdated":"Sep 17, 2024, 2:31:13 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-1397","identifiers":["EUVD-2021-1397","CVE-2021-23387","GHSA-rfhr-62xp-2fp2"]},"retained":false,"historicalAffected":[]}],"coverage":[]}