Improper Removal of Sensitive Information Before Storage or Transfer Affecting org.webjars.npm:follow-redirects package, versions [,1.16.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (39th percentile)

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-JAVA-ORGWEBJARSNPM-16032163
  • published14 Apr 2026
  • disclosed14 Apr 2026
  • creditDennis Sepede

Introduced: 14 Apr 2026

CVE-2026-40895  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade org.webjars.npm: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