Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2021-23387 Details

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-601URL Redirection to Untrusted Site ('Open Redirect')[email protected]

Affected Products

ProductVersions
trailing-slash project trailing-slash
< 2.0.1

CPE

  • cpe:2.3:a:trailing-slash_project:trailing-slash:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2021-23387
NVD Published Date:
May 24, 2021
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2021-23387 Details - Not Deferred