axios
npm55 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting axiospage 1 of 2
- CVE-2019-10742HIGHCVSS 7.5EG 7.5fixed in 0.18.12019-05-07
Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to accepting content after maxContentLength is exceeded.
- CVE-2020-28168MEDIUMCVSS 5.9EG 5.9fixed in 0.21.12020-11-06
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.
- CVE-2021-3749HIGHCVSS 7.5EG 7.5fixed in 0.21.22021-08-31
axios is vulnerable to Inefficient Regular Expression Complexity
- CVE-2023-45857MEDIUMCVSS 6.5EG 6.5fixed in 1.6.0 or 0.28.0, by version range2023-11-08
An issue discovered in Axios 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.
- CVE-2024-39338HIGHCVSS 7.5EG 7.5fixed in 1.7.42024-08-12
axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.
- CVE-2025-27152MEDIUMCVSS 5.3EG 5.3fixed in 1.8.2 or 0.30.0, by version range2025-03-07
axios is a promise based HTTP client for the browser and node.js. The issue occurs when passing absolute URLs rather than protocol-relative URLs to axios. Even if baseURL is set, axios sends the request to the specified absolute URL, po…
- CVE-2025-58754HIGHCVSS 7.5EG 7.5fixed in 1.12.0 or 0.30.2, by version range2025-09-12
Axios is a promise based HTTP client for the browser and Node.js. When Axios starting in version 0.28.0 and prior to versions 0.30.2 and 1.12.0 runs on Node.js and is given a URL with the `data:` scheme, it does not perform HTTP. Instead, …
- CVE-2025-62718CRITICALCVSS 9.9EG 9.9fixed in 1.15.0 or 0.31.0, by version range2026-04-09
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.0 and 0.31.0, Axios does not correctly handle hostname normalization when checking NO_PROXY rules. Requests to loopback addresses like localhost. (with a trail…
- CVE-2026-101898HIGHCVSS 7.0EG 7.0fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.13.0 until 1.20.0, Axios HTTP/2 request setup does not consistently apply proxy settings and caller-supplied DNS lookup policy. An HTTPS request uses httpVersion: 2 w…
- CVE-2026-101899MEDIUMEG not assessedfixed in 1.20.02026-09-30
Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP ranges ## Summary Axios supports proxy environment variables and evaluates `NO_PROXY` exclusions in the Node.js adapter. CIDR-form `NO_PROXY` e…
- CVE-2026-101900MEDIUMCVSS 6.9EG 6.9fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.12.0 until 1.20.0, ResolveConfig reads inherited Symbol.toStringTag, append, and getHeaders properties while resolving FormData headers. A separate same-process proto…
- CVE-2026-101901HIGHCVSS 8.2EG 8.2fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.13.0 until 1.20.0, Http2Sessions does not install adequate error handling for a ClientHttp2Session during Axios HTTP/2 session initialization or reuse. A request uses…
- CVE-2026-101902MEDIUMCVSS 6.9EG 6.9fixed in 0.34.0 or 1.20.0, by version range2026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 0.27.2 until 0.34.0 and 1.20.0, Axios default-instance requests that omit an explicit method can read an inherited method value from Object.prototype. If another vulner…
- CVE-2026-101903HIGHCVSS 8.2EG 8.2fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.16.1 until 1.20.0, the RFC 2397 regular expression allows slash characters on both sides of the media-type separator. An application passes an attacker-controlled mal…
- CVE-2026-101904MEDIUMCVSS 6.9EG 6.9fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.0.0 until 1.20.0, the dispatchRequest function normalizes inherited Object.prototype.headers from a replacement request configuration. A separate same-process prototy…
- CVE-2026-101905HIGHCVSS 7.6EG 7.6fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.15.2 until 1.20.0, the Node HTTP adapter in lib/adapters/http.js supplies request options without an own createConnection value. A separate same-process prototype-pol…
- CVE-2026-101906HIGHCVSS 8.2EG 8.2fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.15.0 until 1.20.0, Axios shouldBypassProxy applies a quadratic trailing-dot regular expression to redirect hostnames. HTTP_PROXY or HTTPS_PROXY is configured, NO_PROX…
- CVE-2026-101907HIGHCVSS 7.0EG 7.0fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.17.0 until 1.20.0, the fetch adapter bypasses the maxRedirects: 0 redirect policy. An Axios request uses the fetch adapter with maxRedirects set to zero and receives …
- CVE-2026-101908MEDIUMCVSS 6.9EG 6.9fixed in 1.20.02026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 1.7.0 until 1.20.0, the fetch adapter constructs a Request with sanitized resolvedOptions but then calls fetch with the original fetchOptions. A separate same-process p…
- CVE-2026-101909HIGHCVSS 8.3EG 8.3fixed in 0.34.0 or 1.20.0, by version range2026-09-28
Axios is a promise-based HTTP client for the browser and Node.js. From 0.28.0 until 0.34.0 and 1.15.1 until 1.20.0, ToFormData processes inherited serialization options and visitor properties supplied through prototype pollution. A separat…
- CVE-2026-25639HIGHCVSS 7.5EG 7.5fixed in 1.13.5 or 0.30.3, by version range2026-02-09
Axios is a promise based HTTP client for the browser and Node.js. Prior to versions 0.30.3 and 1.13.5, the mergeConfig function in axios crashes with a TypeError when processing configuration objects containing __proto__ as an own property…
- CVE-2026-39865MEDIUMCVSS 5.9EG 5.9fixed in 1.13.22026-04-08
Axios is a promise based HTTP client for the browser and Node.js. Starting in version 1.13.0 and prior to 1.13.2, Axios HTTP/2 session cleanup logic contains a state corruption bug that allows a malicious server to crash the client process…
- CVE-2026-40175MEDIUMCVSS 4.8EG 4.8fixed in 1.15.0 or 0.31.0, by version range2026-04-10
Axios is a promise based HTTP client for the browser and Node.js. Versions prior to 1.15.0 and 0.3.1 are vulnerable to a specific gadget-style attack chain in which prototype pollution in a third-party dependency may be leveraged to inject…
- CVE-2026-42033HIGHCVSS 7.4EG 7.4fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, when Object.prototype has been polluted by any co-dependency with keys that axios reads without a hasOwnProperty guard, an attacker can (a) silen…
- CVE-2026-42034MEDIUMCVSS 5.3EG 5.3fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, for stream request bodies, maxBodyLength is bypassed when maxRedirects is set to 0 (native http/https transport path). Oversized streamed uploads…
- CVE-2026-42035HIGHCVSS 7.4EG 7.4fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers int…
- CVE-2026-42036MEDIUMCVSS 5.3EG 5.3fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, when responseType: 'stream' is used, Axios returns the response stream without enforcing maxContentLength. This bypasses configured response-size…
- CVE-2026-42037MEDIUMCVSS 5.3EG 5.3fixed in 1.15.12026-04-24
Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.15.1, the FormDataPart constructor in lib/helpers/formDataToStream.js interpolates value.type directly into the Content-Type header of each multipart …
- CVE-2026-42038MEDIUMCVSS 6.8EG 6.8fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, he fix for no_proxy hostname normalization bypass is incomplete. When no_proxy=localhost is set, requests to 127.0.0.1 and [::1] still route thro…
- CVE-2026-42039HIGHCVSS 7.5EG 7.5fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with…
- CVE-2026-42040LOWCVSS 3.7EG 3.7fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the encode() function in lib/helpers/AxiosURLSearchParams.js contains a character mapping (charMap) at line 21 that reverses the safe percent-enc…
- CVE-2026-42041MEDIUMCVSS 6.5EG 6.5fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution to silently suppress all HTTP…
- CVE-2026-42042MEDIUMCVSS 5.4EG 5.4fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library's XSRF token protection logic uses JavaScript truthy/falsy semantics instead of strict boolean comparison for the withXSRFToken…
- CVE-2026-42043CRITICALCVSS 10.0EG 10.0fixed in 1.15.1 or 0.31.1, by version range2026-04-24
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, an attacker who can influence the target URL of an Axios request can use any address in the 127.0.0.0/8 range (other than 127.0.0.1) to completel…
- CVE-2026-42044CRITICALCVSS 9.1EG 9.1fixed in 1.15.22026-04-24
Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.15.2, he Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution in the application's dependen…
- CVE-2026-42264CRITICALCVSS 9.1EG 9.1fixed in 1.15.22026-05-08
Axios is a promise based HTTP client for the browser and Node.js. From version 1.0.0 to before version 1.15.2, fFive config properties (auth, baseURL, socketPath, beforeRedirect, and insecureHTTPParser) in the HTTP adapter are read via dir…
- CVE-2026-44486HIGHCVSS 7.5EG 7.5fixed in 1.16.0 or 0.32.0, by version range2026-06-04
Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios’ Node.js HTTP adapter can leak proxy credentials to a redirect target in affected versions. When a request is sent through an authenticat…
- CVE-2026-44487HIGHCVSS 7.5EG 7.5fixed in 1.16.0 or 0.32.0, by version range2026-06-04
Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios’s Node.js HTTP adapter may forward a Proxy-Authorization header to a redirected origin during specific proxy-to-direct redirect flows. Th…
- CVE-2026-44488HIGHCVSS 7.5EG 7.5fixed in 1.16.02026-06-04
Axios is a promise based HTTP client for the browser and Node.js. Axios versions 1.7.0 through 1.15.x did not enforce configured request and response size limits when requests were sent with the fetch adapter. Applications that selected ad…
- CVE-2026-44489MEDIUMCVSS 5.3EG 5.3fixed in 1.16.02026-05-29
vulnerable: 1.15.2
Axios is a promise based HTTP client for the browser and Node.js. From 1.15.2 to before 1.16.0, nested objects created by utils.merge() (e.g., config.proxy) are still constructed as plain {} with Object.prototype in their chain. The setPro…
- CVE-2026-44490HIGHCVSS 8.2EG 8.2fixed in 1.16.0 or 0.32.0, by version range2026-05-29
Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, axios exposes two read-side prototype-pollution gadgets. When Object.prototype is polluted by an upstream dependency in the same process (e.g. lo…
- CVE-2026-44492HIGHCVSS 8.6EG 8.6fixed in 1.16.0 or 0.32.0, by version range2026-05-29
Axios is a promise based HTTP client for the browser and Node.js. Prior to 0.32.0 and 1.16.0, Axios does not normalise IPv4-mapped IPv6 addresses. When NO_PROXY lists an IPv4 address such as 127.0.0.1 or 169.254.169.254, a request URL usin…
- CVE-2026-44494HIGHCVSS 8.7EG 8.7fixed in 1.16.02026-05-29
Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.16.0, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution in the application's depende…
- CVE-2026-44495HIGHCVSS 7.7EG 7.7fixed in 1.15.2 or 0.31.1, by version range2026-05-29
Axios is a promise based HTTP client for the browser and Node.js. From 0.19.0 to before 0.31.1 and 1.15.2, Axios contains prototype-pollution gadgets in request config processing. If another vulnerability in the same JavaScript process has…
- CVE-2026-44496HIGHCVSS 7.5EG 7.5fixed in 1.16.0 or 0.32.0, by version range2026-06-04
Axios is a promise based HTTP client for the browser and Node.js. Axios versions before 0.32.0 on the 0.x line and before 1.16.0 on the 1.x line build a regular expression from the configured XSRF cookie name without escaping regex metacha…
- CVE-2026-67312HIGHCVSS 7.5EG 7.5fixed in 0.33.0 or 1.18.0, by version range2026-08-01
axios versions from 0.28.0 before 0.33.0 and from 1.0.0 before 1.18.0 contain uncontrolled recursion in formDataToJSON (exposed as axios.formToJSON() and used internally when serializing FormData with Content-Type: application/json). When …
- CVE-2026-67313HIGHCVSS 7.5EG 7.5fixed in 0.33.0 or 1.18.0, by version range2026-08-01
axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested bracke…
- CVE-2026-67314MEDIUMCVSS 6.5EG 6.5fixed in 1.18.02026-08-01
axios versions >=1.15.2 and <1.18.0 contain prototype-pollution read-side gadgets in Basic auth subfield handling (lib/adapters/http.js and lib/helpers/resolveConfig.js). When an application is already affected by a separate prototype-poll…
- CVE-2026-67315HIGHCVSS 7.5EG 7.5fixed in 1.18.0 or 0.33.0, by version range2026-08-01
axios versions 0.31.0 before 0.33.0 and 1.15.0 before 1.18.0 fail to recognize 0.0.0.0 as a loopback address in shouldBypassProxy.js, allowing requests to 0.0.0.0 to bypass NO_PROXY rules. Attackers can supply 0.0.0.0 URLs to route request…
- CVE-2026-67316HIGHCVSS 7.4EG 7.4fixed in 1.18.0 or 0.33.0, by version range2026-08-01
axios is vulnerable to read-side prototype-pollution gadgets that can alter request construction when Object.prototype has already been polluted by a separate vulnerability or dependency. In the bodyless method aliases (axios.get(), axios.…
Check whether axios is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for axios CVEs against the assets you own.
Book a Demo →