Improper Removal of Sensitive Information Before Storage or Transfer Affecting follow-redirects package, versions <1.16.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-FOLLOWREDIRECTS-16032162
  • published14 Apr 2026
  • disclosed14 Apr 2026
  • creditDennis Sepede

Introduced: 14 Apr 2026

New CVE NOT AVAILABLE CWE-212  (opens in a new tab)

How to fix?

Upgrade follow-redirects to version 1.16.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer in the cross-domain redirects that do not strip custom authentication headers (such as X-API-Key, X-Auth-Token, Api-Key, Token). An attacker can obtain sensitive authentication headers by triggering a cross-domain redirect that causes custom authentication headers to be forwarded to an attacker-controlled domain.

CVSS Base Scores

version 4.0
version 3.1