Read the docs
TI-2021-06077 Aliases CVE-2021-23384GHSA-r773-pmw3-f4mr

Open redirect in koa-remove-trailing-slashes

Priority LOW 26CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.

Summary

The package koa-remove-trailing-slashes before 2.0.2 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::removeTrailingSlashes(), as the web server uses relative URLs instead of absolute URLs.

Why it matters now

EPSS 0.00835 57th percentileScored 2026-11-07
Fix Fixed koa-remove-trailing-slashes: 2.0.2koa-remove-trailing-slashes (npm): 2.0.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—koa-remove-trailing-slashesbefore 2.0.22.0.2Patch availableCNA
—koa-remove-trailing-slashes (npm)before 2.0.22.0.2Patch availableGHSA-r773-pmw3-f4mr
  • koa-remove-trailing-slashes Vendor— Affected before 2.0.2 Fixed in 2.0.2 Patch available CNA
  • koa-remove-trailing-slashes (npm) Vendor— Affected before 2.0.2 Fixed in 2.0.2 Patch available GHSA-r773-pmw3-f4mr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:koa-remove-trailing-slashes_project:koa-remove-trailing-slashes:*:*:*:*:*:node.js:*:*before 2.0.2VulnerableKoa-remove-trailing-slashes Project

Remediation

  • Fix · CNA koa-remove-trailing-slashes Fixed in 2.0.2
  • Fix · GHSA-r773-pmw3-f4mr koa-remove-trailing-slashes (npm) Fixed in 2.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23384
  2. 2026-10-03 Alias added: GHSA-r773-pmw3-f4mr

References

Sources