CVE-2023-26159

MEDIUM6.1EPSS 0.10%

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

Published: 1/2/2024Modified: 2/4/2026
Also known as:GHSA-jchw-25xp-jwwcCGA-j7jg-q5j3-vqq5

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 packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References (9)