follow-redirects vulnerabilities

HTTP and HTTPS modules that follow redirects.

Registry
npm
Latest
1.16.3
License
MIT

8 known advisories

The latest version, 1.16.3, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install follow-redirects@1.16.3

Is your project on an affected follow-redirects?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for follow-redirects

  • HighCVE-2026-116689GHSA-mrwp-f3q8-3g9p30 Oct 2026

    follow-redirects: Cross-realm sensitiveHeaders arrays are discarded and custom credentials can follow redirects

    Affected
    >=1.16.0 <1.16.2
    Fixed in
    1.16.2
  • HighCVE-2026-111756GHSA-q3jh-wrc6-jgq820 Oct 2026

    follow-redirects array-form headers bypass cross-origin credential stripping

    Affected
    >=1.16.0 <1.16.1
    Fixed in
    1.16.1
  • HighCVE-2026-111755GHSA-8r9p-f939-6h3c20 Oct 2026

    follow-redirects sensitiveHeaders regex escaping can expose credential headers

    Affected
    >=1.16.0 <1.16.1
    Fixed in
    1.16.1
  • MediumCVE-2026-40895GHSA-r4q5-vmmm-265314 Apr 2026

    follow-redirects leaks Custom Authentication Headers to Cross-Domain Redirect Targets

    Affected
    <1.16.0
    Fixed in
    1.16.0
  • MediumCVE-2024-28849GHSA-cxjh-pqwp-8mfp14 Mar 2024

    follow-redirects' Proxy-Authorization header kept across hosts

    Affected
    <1.15.6
    Fixed in
    1.15.6
  • MediumCVE-2023-26159GHSA-jchw-25xp-jwwc2 Jan 2024

    Follow Redirects improperly handles URLs in the url.parse() function

    Affected
    <1.15.4
    Fixed in
    1.15.4
  • MediumCVE-2022-0536GHSA-pw2r-vq6v-hr8c10 Feb 2022

    Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects

    Affected
    <1.14.8
    Fixed in
    1.14.8
  • HighCVE-2022-0155GHSA-74fj-2j2h-c42q12 Jan 2022

    Exposure of sensitive information in follow-redirects

    Affected
    <1.14.7
    Fixed in
    1.14.7

Is your follow-redirects version vulnerable?

Which of your client projects still run an old follow-redirects?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.