npm package

axios 0.21.3 vulnerabilities, and the version that fixes all of them

axios 0.21.3 has 23 known vulnerabilities (10 rated high or critical); 0.33.0 fixes all of them. 0.33.0 has 2 known vulnerabilities of its own, so upgrade to 1.20.0, which has none.

npm (opens in a new tab) describes it as “Promise based HTTP client for the browser and node.js”

Known vulnerabilities
23
10 rated high or critical
Released
Sep 4, 2021
Latest is 1.20.0
Downloads last week
27.1K
Under 1% of axios downloads
Licence
MIT
OpenSSF Scorecard
7.7/10
axios/axios (opens in a new tab)
Pulls in
1 package
Resolved by deps.dev

What to upgrade to

1.20.0 is the closest release with no known vulnerabilities that we checked.

  • 0.21.4

    Newest 0.21.x release. Released Sep 6, 2021.

    23 known vulnerabilities, worst rated warning
  • 0.33.0

    Fixes all 23 known vulnerabilities. Released Jun 14, 2026.

    2 known vulnerabilities, worst rated warning
  • 1.20.0Upgrade to this

    Latest release. Released Aug 26, 2026.

    No known vulnerabilities

1.20.0 came out on Aug 26, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for axios 0.21.3

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. WarningCVE-2026-40175 on OSV.dev (opens in a new tab)GHSA-fvcv-3m26-pcqxEPSS: top 20%

    Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain

    Fixed in 0.31.0. Published Apr 10, 2026.

  2. CriticalCVE-2026-25639 on OSV.dev (opens in a new tab)GHSA-43fc-jf86-j433EPSS: top 20%

    Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig

    Fixed in 0.30.3. Published Feb 9, 2026.

  3. WarningCVE-2026-44490 on OSV.dev (opens in a new tab)GHSA-898c-q2cr-xwhgEPSS: top 26%

    axios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functions

    Fixed in 0.32.0. Published May 29, 2026.

  4. CriticalCVE-2026-44492 on OSV.dev (opens in a new tab)GHSA-pjwm-pj3p-43mvEPSS: top 33%

    axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)

    Fixed in 0.32.0. Published May 29, 2026.

  5. WarningCVE-2025-62718 on OSV.dev (opens in a new tab)GHSA-3p68-rc4w-qgx5EPSS: top 33%

    Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF

    Fixed in 0.31.0. Published Apr 9, 2026.

  6. CriticalCVE-2026-44495 on OSV.dev (opens in a new tab)GHSA-3g43-6gmg-66jwEPSS: top 37%

    axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge

    Fixed in 0.31.1. Published May 29, 2026.

  7. CriticalCVE-2026-44496 on OSV.dev (opens in a new tab)GHSA-hfxv-24rg-xrqfEPSS: top 39%

    Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection

    Fixed in 0.32.0. Published Jun 4, 2026.

  8. WarningCVE-2026-42039 on OSV.dev (opens in a new tab)GHSA-62hf-57xw-28j9EPSS: top 39%

    Axios: unbounded recursion in toFormData causes DoS via deeply nested request data

    Fixed in 0.31.1. Published May 5, 2026.

  9. CriticalCVE-2026-42033 on OSV.dev (opens in a new tab)GHSA-pf86-5x62-jrwfEPSS: top 41%

    Axios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request Hijacking

    Fixed in 0.31.1. Published May 5, 2026.

  10. WarningCVE-2026-42041 on OSV.dev (opens in a new tab)GHSA-w9j2-pvgh-6h63EPSS: top 44%

    Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategy

    Fixed in 0.31.1. Published May 5, 2026.

  11. CriticalCVE-2025-27152 on OSV.dev (opens in a new tab)GHSA-jr5f-v2jv-69x6EPSS: top 45%

    axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL

    Fixed in 0.30.0. Published Mar 7, 2025.

  12. CriticalCVE-2026-44487 on OSV.dev (opens in a new tab)GHSA-p92q-9vqr-4j8vEPSS: top 46%

    Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapter

    Fixed in 0.32.0. Published Jun 4, 2026.

  13. CriticalCVE-2026-44486 on OSV.dev (opens in a new tab)GHSA-j5f8-grm9-p9fcEPSS: top 46%

    Axios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connection

    Fixed in 0.32.0. Published Jun 4, 2026.

  14. CriticalCVE-2026-42043 on OSV.dev (opens in a new tab)GHSA-pmwg-cvhr-8vh7EPSS: top 48%

    Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0

    Fixed in 0.31.1. Published May 5, 2026.

  15. WarningCVE-2023-45857 on OSV.dev (opens in a new tab)GHSA-wf5p-g6vw-rhxxEPSS: top 55%

    Axios Cross-Site Request Forgery Vulnerability

    Fixed in 0.28.0. Published Nov 8, 2023.

  16. WarningCVE-2026-42034 on OSV.dev (opens in a new tab)GHSA-5c9x-8gcm-mpgxEPSS: top 61%

    Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0

    Fixed in 0.31.1. Published May 5, 2026.

  17. WarningCVE-2026-42036 on OSV.dev (opens in a new tab)GHSA-vf2m-468p-8v99EPSS: top 61%

    Axios: HTTP adapter streamed responses bypass maxContentLength

    Fixed in 0.31.1. Published May 5, 2026.

  18. WarningCVE-2026-67316 on OSV.dev (opens in a new tab)GHSA-mmx7-hfxf-jppxEPSS: top 65%

    Axios: Prototype pollution gadgets can alter axios request construction

    Fixed in 0.33.0. Published Jul 20, 2026.

  19. CriticalCVE-2026-42035 on OSV.dev (opens in a new tab)GHSA-6chq-wfr3-2hj9EPSS: top 70%

    Axios: Header Injection via Prototype Pollution

    Fixed in 0.31.1. Published May 5, 2026.

  20. WarningCVE-2026-42038 on OSV.dev (opens in a new tab)GHSA-m7pr-hjqh-92cmEPSS: top 70%

    Axios: no_proxy bypass via IP alias allows SSRF

    Fixed in 0.31.1. Published May 5, 2026.

  21. WarningCVE-2026-42042 on OSV.dev (opens in a new tab)GHSA-xx6v-rp6x-q39cEPSS: top 77%

    Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercion

    Fixed in 0.31.1. Published May 5, 2026.

  22. WarningCVE-2026-67319 on OSV.dev (opens in a new tab)GHSA-7q8q-rj6j-mhjqEPSS: top 77%

    Axios: Nested axios option objects can consume polluted prototype values

    Fixed in 0.33.0. Published Jul 20, 2026.

  23. LowCVE-2026-42040 on OSV.dev (opens in a new tab)GHSA-xhjh-pmcv-23jwEPSS: top 83%

    Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParams

    Fixed in 0.31.1. Published May 5, 2026.

Who is still on a vulnerable axios

62% of last week’s 119.1M axios downloads went to versions with known vulnerabilities.

From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.

Is axios the only one?

Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly axios 0.21.3, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.