What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: follow-redirects 1.15.4; Npm Follow-Redirects 1.15.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-26159 or the next vulnerability affects your stack