Skip to main content
← All vulnerabilities
CVE-2021-23384GHSA-R773-PMW3-F4MR

Open Redirect

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.2
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a koa-remove-trailing-slashes

    fixed in 2.0.2

  • koa-remove-trailing-slashesnpm

    fixed in 2.0.2

References 2

snyk.io

GitHub · vgno/koa-remove-trailing-slashes