NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2023-26159: Follow Redirects improperly handles URLs in the url.parse() function

mediumCVSS 3.1 6.1GHSA-jchw-25xp-jwwc

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. When new URL() throws an error, it can be manipulated to misinterpret the hostname.

Published Jan 2, 2024 · Updated Nov 4, 2025

Affected packages

follow-redirects

Ecosystem
npm
Affected
< 1.15.4
Fixed in
1.15.4
Check
npm ls follow-redirects

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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. When new URL() throws an error, it can be manipulated to misinterpret the hostname. An attacker could exploit this weakness to redirect traffic to a malicious site, potentially leading to information disclosure, phishing attacks, or other security breaches.

Credited to iainsproat.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries