Vulnerability

CVE-2021-23384

mediumCVSS 3.1 5.4Published 17 May 2021

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Koa Remove Trailing Slashes Project koa-remove-trailing-slashes

Weakness type

References

  • github.com /vgno/koa-remove-trailing-slashes/blame/6a01ba8fd019bd3ece4…
  • snyk.io /vuln/SNYK-JS-KOAREMOVETRAILINGSLASHES-1085708

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning