MediumGHSA-4w2v-q235-vp99CVE-2020-28168
Axios vulnerable to Server-Side Request Forgery
Published 4 Jan 2021 · Updated 10 Sept 2026
Affected package
axiosnpm
- Affected
- <0.21.1
- Fixed in
- 0.21.1
Update to the fixed version for your release line, for example:
npm install axios@0.21.1Details
Axios NPM package 0.21.0 contains a Server-Side Request Forgery (SSRF) vulnerability where an attacker is able to bypass a proxy by providing a URL that responds with a redirect to a restricted host or IP address.
Is GHSA-4w2v-q235-vp99 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-2020-28168
- Linkgithub.com/axios/axios/issues/3369
- Linkgithub.com/axios/axios/commit/c7329fefc890050edd51e40e469a154d0117fc55
- Linkcert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- Linklists.apache.org/thread.html/r25d53acd06f29244b8a103781b0339c5e7efee9099a4d52f0c230e4a@%3Ccommits.druid.apache.org%3E
- Linklists.apache.org/thread.html/r954d80fd18e9dafef6e813963eb7e08c228151c2b6268ecd63b35d1f@%3Ccommits.druid.apache.org%3E
- Linklists.apache.org/thread.html/rdfd2901b8b697a3f6e2c9c6ecc688fd90d7f881937affb5144d61d6e@%3Ccommits.druid.apache.org%3E
- Linksnyk.io/vuln/SNYK-JS-AXIOS-1038255
- Linkwww.npmjs.com/advisories/1594
- Linkwww.npmjs.com/package/axios
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.