HighGHSA-8hc4-vh64-cxmjCVE-2024-39338
Server-Side Request Forgery in axios
Published 12 Aug 2024 · Updated 10 Sept 2026
Affected package
axiosnpm
- Affected
- >=1.3.2 <1.7.4
- Fixed in
- 1.7.4
Update to the fixed version for your release line, for example:
npm install axios@1.7.4Details
axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.
Is GHSA-8hc4-vh64-cxmj in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected axios, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-39338
- Linkgithub.com/axios/axios/issues/6463
- Linkgithub.com/axios/axios/pull/6539
- Linkgithub.com/axios/axios/pull/6543
- Linkgithub.com/axios/axios/commit/6b6b605eaf73852fb2dae033f1e786155959de3a
- Packagegithub.com/axios/axios
- Linkgithub.com/axios/axios/releases
- Linkgithub.com/axios/axios/releases/tag/v1.7.4
- Linkjeffhacks.com/advisories/2024/06/24/CVE-2024-39338.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.