CVE-2023-26159
MEDIUM 6.1CVSS 3.1Follow Redirects improperly handles URLs in the url.parse() function
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.
- Published
- 2 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-20CWE-601
- Also known as
- GHSA-jchw-25xp-jwwc
- Sources
- NVDJSONOSV GHSA-jchw-25xp-jwwcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | follow-redirects | follow_redirectscpe:2.3:a:follow-redirects:follow_redirects:*:*:*:*:*:node.js:*:* |
< 1.15.4 | 1.15.4 |
| OSV | npm | follow-redirects | < 1.15.4 | 1.15.4 |
References
- 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/ · WEB
- https://security.snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137 · Exploit, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20241108-0002/ · WEB
- 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
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 2 Jan 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jan 2024)