Vulnerability Description
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trailing dot) or [::1] (IPv6 literal) skip NO_PROXY matching and go through the configured proxy. This goes against what developers expect and lets attackers force requests through a proxy, even if NO_PROXY is set up to protect loopback or internal services. This issue leads to the possibility of proxy bypass and SSRF vulnerabilities allowing attackers to reach sensitive loopback or internal services despite the configured protections. This vulnerability is fixed in 1.15.0 and 0.31.0.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Axios | Axios | < 0.31.0 |
Related Weaknesses (CWE)
References
- https://datatracker.ietf.org/doc/html/rfc1034#section-3.1Technical Description
- https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2Technical Description
- https://github.com/axios/axios/commit/03cdfc99e8db32a390e12128208b6778492cee9cPatch
- https://github.com/axios/axios/commit/fb3befb6daac6cad26b2e54094d0f2d9e47f24dfPatch
- https://github.com/axios/axios/pull/10661Issue TrackingPatch
- https://github.com/axios/axios/pull/10688Issue Tracking
- https://github.com/axios/axios/releases/tag/v0.31.0Release Notes
- https://github.com/axios/axios/releases/tag/v1.15.0ProductRelease Notes
- https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5ExploitMitigationVendor Advisory
- https://github.com/axios/axios/security/advisories/GHSA-3p68-rc4w-qgx5ExploitMitigationVendor Advisory
FAQ
What is CVE-2025-62718?
CVE-2025-62718 is a vulnerability with a CVSS score of 9.9 (CRITICAL). Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback ...
How severe is CVE-2025-62718?
CVE-2025-62718 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2025-62718?
Check the references section above for vendor advisories and patch information. Affected products include: Axios Axios.