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

- Severity: High 7.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-01-02T05:00:00.659Z
- Modified: 2026-09-10T03:50:04.950Z
- Also known as: GHSA-jchw-25xp-jwwc
- Weaknesses: CWE-20, CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- follow-redirects: before 1.15.4
- follow-redirects (npm): before 1.15.4
- follow-redirects follow_redirects: before 1.15.4

## Every score

- snyk: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137> (exploit, third-party-advisory, web)
- <https://github.com/follow-redirects/follow-redirects/issues/235> (exploit, issue-tracking, web)
- <https://github.com/follow-redirects/follow-redirects/pull/236> (issue-tracking, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZ425BFKNBQ6AK7I5SAM56TWON5OF2XM/>
- <https://security.netapp.com/advisory/ntap-20241108-0002/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-26159> (advisory)
- <https://github.com/follow-redirects/follow-redirects/commit/7a6567e16dfa9ad18a70bfe91784c28653fbf19d> (web)
- <https://github.com/follow-redirects/follow-redirects> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZ425BFKNBQ6AK7I5SAM56TWON5OF2XM> (web)
- <https://security.netapp.com/advisory/ntap-20241108-0002> (web)

## Sources

- CVE List: [CVE-2023-26159](https://www.cve.org/CVERecord?id=CVE-2023-26159), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-jchw-25xp-jwwc](https://github.com/advisories/GHSA-jchw-25xp-jwwc), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-26159](https://nvd.nist.gov/vuln/detail/CVE-2023-26159), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-26159 · Whole record: https://cve.day/CVE-2023-26159.json · Rebuilt by cve.day 2026-11-25T22:58:31.796Z
