npm package

follow-redirects 1.8.0 vulnerabilities, and the version that fixes all of them

follow-redirects 1.8.0 has 5 known vulnerabilities (1 rated high or critical); 1.16.0 fixes all of them.

npm (opens in a new tab) describes it as “HTTP and HTTPS modules that follow redirects.”

Known vulnerabilities
5
1 rated high or critical
Released
Aug 27, 2019
Latest is 1.16.1
Downloads last week
270
Under 1% of follow-redirects downloads
Licence
MIT
Pulls in
2 packages
Resolved by deps.dev

What to upgrade to

1.16.0 is the closest release with no known vulnerabilities.

  • 1.16.0Upgrade to this

    Fixes all 5 known vulnerabilities. Released Apr 13, 2026.

    No known vulnerabilities
  • 1.16.1

    Newest 1.x release and the latest release. Released Oct 1, 2026.

    No known vulnerabilities

1.16.0 came out on Apr 13, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for follow-redirects 1.8.0

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. CriticalCVE-2022-0155 on OSV.dev (opens in a new tab)GHSA-74fj-2j2h-c42qEPSS: top 17%

    Exposure of sensitive information in follow-redirects

    Fixed in 1.14.7. Published Jan 12, 2022.

  2. WarningCVE-2022-0536 on OSV.dev (opens in a new tab)GHSA-pw2r-vq6v-hr8cEPSS: top 31%

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

    Fixed in 1.14.8. Published Feb 10, 2022.

  3. WarningCVE-2024-28849 on OSV.dev (opens in a new tab)GHSA-cxjh-pqwp-8mfpEPSS: top 37%

    follow-redirects' Proxy-Authorization header kept across hosts

    Fixed in 1.15.6. Published Mar 14, 2024.

  4. WarningCVE-2026-40895 on OSV.dev (opens in a new tab)GHSA-r4q5-vmmm-2653EPSS: top 44%

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

    Fixed in 1.16.0. Published Apr 14, 2026.

  5. WarningCVE-2023-26159 on OSV.dev (opens in a new tab)GHSA-jchw-25xp-jwwcEPSS: top 45%

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

    Fixed in 1.15.4. Published Jan 2, 2024.

Who is still on a vulnerable follow-redirects

26% of last week’s 110.4M follow-redirects downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is follow-redirects the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly follow-redirects 1.8.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.