follow-redirects vulnerabilities

HTTP and HTTPS modules that follow redirects.

Registry
npm
Latest
1.16.1
License
MIT

7 known advisories

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

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

Security advisories for follow-redirects

  • HighGHSA-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
  • HighGHSA-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
  • MediumGHSA-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
  • MediumGHSA-cxjh-pqwp-8mfp14 Mar 2024

    follow-redirects' Proxy-Authorization header kept across hosts

    Affected
    <1.15.6
    Fixed in
    1.15.6
  • MediumGHSA-jchw-25xp-jwwc2 Jan 2024

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

    Affected
    <1.15.4
    Fixed in
    1.15.4
  • MediumGHSA-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
  • HighGHSA-74fj-2j2h-c42q12 Jan 2022

    Exposure of sensitive information in follow-redirects

    Affected
    <1.14.7
    Fixed in
    1.14.7

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.