axios vulnerabilities

Promise based HTTP client for the browser and node.js

Registry
npm
Latest
1.20.0
License
MIT

56 known advisories

The latest version, 1.20.0, is not affected by any of them. Projects on older versions may be. Some versions were published with malicious code: remove them and rotate any secrets the install could read.

Update to the latest version:npm install axios@1.20.0

Security advisories for axios

  • MediumGHSA-j8rh-479h-cp3230 Sept 2026

    Axios: Header Injection via Inherited headers After Minimal Interceptor

    Affected
    >=1.0.0 <1.20.0
    Fixed in
    1.20.0
  • MediumGHSA-4hqw-qxg8-jxx230 Sept 2026

    Axios: Fetch Adapter Header Injection via Inherited FormData getHeaders

    Affected
    >=1.12.0 <1.20.0
    Fixed in
    1.20.0
  • HighGHSA-m8m8-qj5v-23w330 Sept 2026

    Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection

    Affected
    >=1.15.2 <1.20.0
    Fixed in
    1.20.0
  • MediumGHSA-44g4-m2mj-wpvx30 Sept 2026

    Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP ranges

    Affected
    >=1.15.0 <1.20.0
    Fixed in
    1.20.0
  • HighGHSA-r4gj-5m52-g5wh30 Sept 2026

    Axios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF

    Affected
    >=1.17.0 <1.20.0
    Fixed in
    1.20.0
  • MediumGHSA-vh66-26gq-q6x830 Sept 2026

    Axios: Prototype pollution gadget in fetch adapter can alter outbound requests

    Affected
    >=1.7.0 <1.20.0
    Fixed in
    1.20.0
  • MediumGHSA-9fr6-4gfg-395g30 Sept 2026

    Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Method

    Affected
    >=0.27.2 <0.34.0 · >=1.0.0 <1.20.0
    Fixed in
    0.34.0, 1.20.0
  • HighGHSA-c29m-xwm3-cm6r30 Sept 2026

    Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)

    Affected
    >=1.16.1 <1.20.0
    Fixed in
    1.20.0
  • HighGHSA-mghh-pgcx-3jjj30 Sept 2026

    Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location

    Affected
    >=1.15.0 <1.20.0
    Fixed in
    1.20.0
  • HighGHSA-x97p-jq2g-jp4f30 Sept 2026

    Axios: Prototype Pollution Gadget in axios toFormData Options

    Affected
    >=0.28.0 <0.34.0 · >=1.15.1 <1.20.0
    Fixed in
    0.34.0, 1.20.0
  • HighGHSA-3pq3-5fj3-cg6v30 Sept 2026

    Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controls

    Affected
    >=1.13.0 <1.20.0
    Fixed in
    1.20.0
  • HighGHSA-542g-h47m-68v830 Sept 2026

    Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization

    Affected
    >=1.13.0 <1.20.0
    Fixed in
    1.20.0
  • HighGHSA-gcfj-64vw-6mp920 Jul 2026

    Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning

    Affected
    >=0.31.1 <0.33.0 · >=1.15.2 <1.18.0
    Fixed in
    0.33.0, 1.18.0
  • MediumGHSA-hcpx-6fm6-wx2320 Jul 2026

    Axios form serializer maxDepth bypass via {} metatoken

    Affected
    >=0.31.1 <0.33.0 · >=1.15.1 <1.18.0
    Fixed in
    0.33.0, 1.18.0
  • MediumGHSA-7q8q-rj6j-mhjq20 Jul 2026

    Axios: Nested axios option objects can consume polluted prototype values

    Affected
    >=0.8.0 <0.33.0 · >=1.0.0 <1.18.0
    Fixed in
    0.33.0, 1.18.0
  • MediumGHSA-mwf2-3pr3-869820 Jul 2026

    Axios: HTTP/2 streamed uploads bypass `maxBodyLength`

    Affected
    >=1.13.0 <1.18.0
    Fixed in
    1.18.0
  • MediumGHSA-jqh4-m9w3-8hp920 Jul 2026

    Axios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`

    Affected
    >=1.7.0 <1.18.0
    Fixed in
    1.18.0
  • MediumGHSA-mmx7-hfxf-jppx20 Jul 2026

    Axios: Prototype pollution gadgets can alter axios request construction

    Affected
    >=1.0.0 <1.18.0 · <0.33.0
    Fixed in
    0.33.0, 1.18.0
  • MediumGHSA-f4gw-2p7v-454820 Jul 2026

    Axios: NO_PROXY bypass for 0.0.0.0 local addresses in axios

    Affected
    >=1.15.0 <1.18.0 · >=0.31.0 <0.33.0
    Fixed in
    0.33.0, 1.18.0
  • MediumGHSA-42h9-826w-cgv320 Jul 2026

    Axios: Excessive recursion in formDataToJSON can cause denial of service

    Affected
    >=0.28.0 <0.33.0 · >=1.0.0 <1.18.0
    Fixed in
    0.33.0, 1.18.0
  • MediumGHSA-xj6q-8x83-jv6g20 Jul 2026

    Axios: Prototype pollution auth subfields can inject Basic auth

    Affected
    >=1.15.2 <1.18.0
    Fixed in
    1.18.0
  • MediumGHSA-pmv8-rq9r-6j7220 Jul 2026

    Axios: Deep formToJSON Key Recursion Can Cause Denial of Service

    Affected
    >=0.28.0 <0.33.0 · >=1.0.0 <1.18.0
    Fixed in
    0.33.0, 1.18.0
  • HighGHSA-hfxv-24rg-xrqf4 Jun 2026

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

    Affected
    >=1.0.0 <1.16.0 · <0.32.0
    Fixed in
    0.32.0, 1.16.0
  • HighGHSA-777c-7fjr-54vf4 Jun 2026

    Allocation of Resources Without Limits or Throttling in Axios

    Affected
    >=1.7.0 <1.16.0
    Fixed in
    1.16.0
  • HighGHSA-p92q-9vqr-4j8v4 Jun 2026

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

    Affected
    >=1.0.0 <1.16.0 · <0.32.0
    Fixed in
    0.32.0, 1.16.0
  • HighGHSA-j5f8-grm9-p9fc4 Jun 2026

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

    Affected
    >=1.0.0 <1.16.0 · <0.32.0
    Fixed in
    0.32.0, 1.16.0
  • HighGHSA-3g43-6gmg-66jw29 May 2026

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

    Affected
    >=1.0.0 <1.15.2 · >=0.19.0 <0.31.1
    Fixed in
    0.31.1, 1.15.2
  • HighGHSA-35jp-ww65-95wh29 May 2026

    axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`

    Affected
    >=1.0.0 <1.16.0
    Fixed in
    1.16.0
  • HighGHSA-pjwm-pj3p-43mv29 May 2026

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

    Affected
    >=1.15.0 <1.16.0 · <0.32.0
    Fixed in
    0.32.0, 1.16.0
  • MediumGHSA-898c-q2cr-xwhg29 May 2026

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

    Affected
    >=1.0.0 <1.16.0 · <0.32.0
    Fixed in
    0.32.0, 1.16.0
  • LowGHSA-654m-c8p4-x5fp29 May 2026

    Axios has a Patch Bypass: Proxy-Authorization Header Injection via Prototype Pollution — Incomplete Null-Prototype Fix

    Affected
    >=1.15.2 <1.16.0
    Fixed in
    1.16.0
  • MediumGHSA-445q-vr5w-6q775 May 2026

    Axios: CRLF Injection in multipart/form-data body via unsanitized blob.type in formDataToStream

    Affected
    >=1.0.0 <1.15.1
    Fixed in
    1.15.1
  • MediumGHSA-m7pr-hjqh-92cm5 May 2026

    Axios: no_proxy bypass via IP alias allows SSRF

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-62hf-57xw-28j95 May 2026

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

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-5c9x-8gcm-mpgx5 May 2026

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

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-vf2m-468p-8v995 May 2026

    Axios: HTTP adapter streamed responses bypass maxContentLength

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • HighGHSA-pf86-5x62-jrwf5 May 2026

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

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • HighGHSA-6chq-wfr3-2hj95 May 2026

    Axios: Header Injection via Prototype Pollution

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-xx6v-rp6x-q39c5 May 2026

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

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-w9j2-pvgh-6h635 May 2026

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

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • HighGHSA-pmwg-cvhr-8vh75 May 2026

    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

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-3w6x-2g7m-8v235 May 2026

    Axios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`

    Affected
    >=1.0.0 <1.15.2
    Fixed in
    1.15.2
  • HighGHSA-q8qp-cvcw-x6jj5 May 2026

    Axios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijacking

    Affected
    >=1.0.0 <1.15.2
    Fixed in
    1.15.2
  • LowGHSA-xhjh-pmcv-23jw5 May 2026

    Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParams

    Affected
    >=1.0.0 <1.15.1 · <0.31.1
    Fixed in
    0.31.1, 1.15.1
  • MediumGHSA-fvcv-3m26-pcqx10 Apr 2026

    Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain

    Affected
    >=1.0.0 <1.15.0 · <0.31.0
    Fixed in
    0.31.0, 1.15.0
  • MediumGHSA-3p68-rc4w-qgx59 Apr 2026

    Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF

    Affected
    >=1.0.0 <1.15.0 · <0.31.0
    Fixed in
    0.31.0, 1.15.0
  • MediumGHSA-qj83-cq47-w5f88 Apr 2026

    Axios HTTP/2 Session Cleanup State Corruption Vulnerability

    Affected
    >=1.13.0 <1.13.2
    Fixed in
    1.13.2
  • CriticalMAL-2026-230731 Mar 2026

    Malicious code in a published version

    Affected
    0.30.4, 1.14.1
    Fixed in
    No fix released
  • HighGHSA-43fc-jf86-j4339 Feb 2026

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

    Affected
    >=1.0.0 <1.13.5 · <0.30.3
    Fixed in
    0.30.3, 1.13.5
  • HighGHSA-4hjh-wcwx-xvwj11 Sept 2025

    Axios is vulnerable to DoS attack through lack of data size check

    Affected
    >=1.0.0 <1.12.0 · >=0.28.0 <0.30.2
    Fixed in
    0.30.2, 1.12.0
  • HighGHSA-jr5f-v2jv-69x67 Mar 2025

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

    Affected
    >=1.0.0 <1.8.2 · <0.30.0
    Fixed in
    0.30.0, 1.8.2
  • HighGHSA-8hc4-vh64-cxmj12 Aug 2024

    Server-Side Request Forgery in axios

    Affected
    >=1.3.2 <1.7.4
    Fixed in
    1.7.4
  • MediumGHSA-wf5p-g6vw-rhxx8 Nov 2023

    Axios Cross-Site Request Forgery Vulnerability

    Affected
    >=1.0.0 <1.6.0 · >=0.8.1 <0.28.0
    Fixed in
    0.28.0, 1.6.0
  • HighGHSA-cph5-m8f7-6c5x1 Sept 2021

    axios Inefficient Regular Expression Complexity vulnerability

    Affected
    <0.21.2
    Fixed in
    0.21.2
  • MediumGHSA-4w2v-q235-vp994 Jan 2021

    Axios vulnerable to Server-Side Request Forgery

    Affected
    <0.21.1
    Fixed in
    0.21.1
  • HighGHSA-42xw-2xvc-qx8m29 May 2019

    Denial of Service in axios

    Affected
    <0.18.1
    Fixed in
    0.18.1

Which of your client projects still run an old axios?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.