Skip to main content

Insertion of Sensitive Information Into Sent Data in follow-redirects

CVE-2026-116689

  • follow-redirects
  • org.webjars.npm:follow-redirects
Severity Medium
Score 5.9/10

Summary

follow-redirects is a Node.js HTTP and HTTPS client wrapper that automatically follows redirects. In versions 1.16.0 prior to 1.16.2, the documented `sensitiveHeaders` option is checked with value `instanceof` Array, so an array created in another JavaScript realm is replaced with an empty list even though `Array.isArray` recognizes it. When a request then follows an attacker-controlled cross-origin redirect, a custom credential header named in that discarded list can be forwarded to the redirect destination. This issue is fixed in version 1.16.2.

  • HIGH
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-201 - Insertion of Sensitive Information Into Sent Data

The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.

Advisory Timeline

  • Published