CVE-2023-26159
published high CVSS 3.1 · 7.3follow-redirects: Improper Input Validation due to the improper handling of URLs by the url.parse()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | follow-redirects0 to < 1.15.4 | Affected | Not stated | snyk |
| Ubuntu | bionic | node-follow-redirects | Advisory build | 1.2.4-1ubuntu0.18.04.1~esm1 | USN-8217-1 |
| Ubuntu | focal | node-follow-redirects | Advisory build | 1.2.4-1ubuntu0.20.04.1~esm1 | USN-8217-1 |
| Ubuntu | jammy | node-follow-redirects | Advisory build | 1.14.9+~1.14.1-1ubuntu0.1~esm1 | USN-8217-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | follow-redirects | 0 to < 1.15.4 (affected · semver) | snyk · cna |
Weaknesses
2- CWE-20 Improper Input Validation
- CWE-601 CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
5- https://github.com/follow-redirects/follow-redirects/issues/235
- https://github.com/follow-redirects/follow-redirects/pull/236
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZZ425BFKNBQ6AK7I5SAM56TWON5OF2XM/
- https://security.netapp.com/advisory/ntap-20241108-0002/
- https://security.snyk.io/vuln/SNYK-JS-FOLLOWREDIRECTS-6141137
Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c51c82cc1699001f7999387cd843757c28a0f7e49f8576c33fe4792c180c6be3
- Ingested
- 23 Sep 2026, 08:07:05 UTC
- Source record
- Official CVE record