{"id":"EUVD-2021-1397","enisaUuid":"0d41a1a5-f20b-36f8-93f1-dd9c0495586a","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.","datePublished":"May 24, 2021, 6:16:34 PM","dateUpdated":"Sep 17, 2024, 2:31:13 AM","baseScore":5.4,"baseScoreVersion":"3.1","baseScoreVector":"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","references":"https://snyk.io/vuln/SNYK-JS-TRAILINGSLASH-1085707\nhttps://github.com/fardog/trailing-slash/blob/f640ece055fe85275c983de5eb94661b95e35670/index.js%23L36\nhttps://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048\n","aliases":"CVE-2021-23387\nGHSA-rfhr-62xp-2fp2\n","assigner":"snyk","epss":1.15,"enisaIdProduct":[{"id":"26eba001-a106-3c61-8a62-9d87df7d6cb3","product":{"name":"trailing-slash","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c2.0.1"}],"enisaIdVendor":[{"id":"163cf562-f977-3bcf-b0e0-8c8ef9a97b0e","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"19718526-cbae-3b3c-9790-e3b6aa284823","vulnerability":{"id":"GHSA-rfhr-62xp-2fp2","description":"Open Redirect in trailing-slash","datePublished":"Jun 8, 2021, 11:19:21 PM","dateUpdated":"May 27, 2021, 10:38:20 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2021-23387\nhttps://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048\nhttps://github.com/fardog/trailing-slash/blob/f640ece055fe85275c983de5eb94661b95e35670/index.js%23L36\nhttps://snyk.io/vuln/SNYK-JS-TRAILINGSLASH-1085707\n","enisa_id":"EUVD-2021-1397\n","aliases":"CVE-2021-23387\nGHSA-rfhr-62xp-2fp2\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"ba9feac8-f237-3596-b00e-6a6f96524511","vulnerability":{"id":"CVE-2021-23387","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.","datePublished":"May 24, 2021, 6:16:34 PM","dateUpdated":"Sep 17, 2024, 2:31:13 AM","status":"PUBLISHED","baseScore":5.4,"baseScoreVersion":"3.1","baseScoreVector":"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","references":"https://snyk.io/vuln/SNYK-JS-TRAILINGSLASH-1085707\nhttps://github.com/fardog/trailing-slash/blob/f640ece055fe85275c983de5eb94661b95e35670/index.js%23L36\nhttps://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048\n","enisa_id":"EUVD-2021-1397\n","assigner":"snyk","epss":1.15,"dataProcessed":"Nov 23, 2026, 7:17:13 AM","vulnerabilityProduct":[{"id":"e29705ce-dcba-3350-893f-cb7fc9130750","product":{"name":"trailing-slash","vendor":{"name":"n/a"}},"product_version":"unspecified \u003c2.0.1"}],"vulnerabilityVendor":[{"id":"0ce0cca3-5b48-371f-87ab-40d8fa1e3c7b","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}