CVE-2023-26159

HIGH
Published Jan 2, 2024 Modified Nov 3, 2025 CWE-20 CWE-601

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.

Is your site exposed to CVE-2023-26159?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.3
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-20 Improper Input Validation
CWE-601 CWE-601

Affected Products

Vendor Product
follow-redirects follow_redirects

References

Frequently Asked Questions

What is CVE-2023-26159? +
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. It has a CVSS v3.1 base score of 7.3 (HIGH).
How severe is CVE-2023-26159? +
CVE-2023-26159 has a CVSS v3.1 score of 7.3 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2023-26159? +
CVE-2023-26159 affects products from follow-redirects, specifically: follow_redirects. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2023-26159? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2023-26159 — free, no signup required.