MediumGHSA-4w2v-q235-vp99CVE-2020-28168

Axios vulnerable to Server-Side Request Forgery

Published 4 Jan 2021 · Updated 10 Sept 2026

Affected package

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.1

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.