Skip to main content

Follow Redirects

3 CVEs product

Monthly

CVE-2026-40895 Apr 21, 19:59 npm MEDIUM PATCH This Month

Custom authentication header leakage in follow-redirects before 1.16.0 exposes API keys and session tokens whenever an HTTP request follows a cross-domain redirect. The header-stripping regex at index.js:469-476 only covers `authorization`, `proxy-authorization`, and `cookie`, leaving headers such as `X-API-Key`, `X-Auth-Token`, and `Token` forwarded verbatim to the redirect destination. Because follow-redirects is the redirect-handling dependency for axios (105K+ GitHub stars), this flaw has broad reach across the Node.js ecosystem; no public exploit code has been identified at time of analysis, though a fully detailed GHSA advisory with a working attack scenario is publicly available.

Information Disclosure Follow Redirects
NVD GitHub VulDB
CVSS 4.0
6.9
EPSS
0.1%
CVE-2024-28849 Mar 14, 17:15 npm MEDIUM POC PATCH This Month

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.

Information Disclosure Follow Redirects
NVD GitHub
CVSS 3.1
6.5
EPSS
1.0%
CVE-2023-26159 Jan 02, 05:15 npm HIGH POC PATCH This Week

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. Rated high severity (CVSS 7.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Follow Redirects
NVD GitHub
CVSS 3.1
7.3
EPSS
0.1%
EPSS 0% CVSS 6.9
MEDIUM PATCH This Month

Custom authentication header leakage in follow-redirects before 1.16.0 exposes API keys and session tokens whenever an HTTP request follows a cross-domain redirect. The header-stripping regex at index.js:469-476 only covers `authorization`, `proxy-authorization`, and `cookie`, leaving headers such as `X-API-Key`, `X-Auth-Token`, and `Token` forwarded verbatim to the redirect destination. Because follow-redirects is the redirect-handling dependency for axios (105K+ GitHub stars), this flaw has broad reach across the Node.js ecosystem; no public exploit code has been identified at time of analysis, though a fully detailed GHSA advisory with a working attack scenario is publicly available.

Information Disclosure Follow Redirects
NVD GitHub VulDB
EPSS 1% CVSS 6.5
MEDIUM POC PATCH This Month

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.

Information Disclosure Follow Redirects
NVD GitHub
EPSS 0% CVSS 7.3
HIGH POC PATCH This Week

Versions of the package follow-redirects before 1.15.4 are vulnerable to Improper Input Validation due to the improper handling of URLs by the url.parse() function. Rated high severity (CVSS 7.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Information Disclosure Follow Redirects
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy