axios
npm43 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 1
- CVE-2019-10742HIGHCVSS 7.5EG 7.5✓ Fixed 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.9✓ Fixed 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.5✓ Fixed in 0.21.22021-08-31
axios is vulnerable to Inefficient Regular Expression Complexity
- CVE-2023-45857MEDIUMCVSS 6.5EG 6.5✓ Fixed in 0.28.02023-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.5✓ Fixed 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.3✓ Fixed in 0.30.02025-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.5✓ Fixed in 0.30.22025-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.9✓ Fixed in 0.31.02026-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-25639HIGHCVSS 7.5EG 7.5✓ Fixed in 0.30.32026-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.9✓ Fixed 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.8✓ Fixed in 0.31.02026-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.4✓ Fixed in 0.31.12026-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.3✓ Fixed in 0.31.12026-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.4✓ Fixed in 0.31.12026-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.3✓ Fixed in 0.31.12026-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.3✓ Fixed 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.8✓ Fixed in 0.31.12026-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.5✓ Fixed in 0.31.12026-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.7✓ Fixed in 0.31.12026-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.5✓ Fixed in 0.31.12026-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.4✓ Fixed in 0.31.12026-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.0✓ Fixed in 0.31.12026-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.1✓ Fixed 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.1✓ Fixed 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.5✓ Fixed in 0.32.02026-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.5✓ Fixed in 0.32.02026-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.5✓ Fixed 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.3✓ Fixed 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.2✓ Fixed in 0.32.02026-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.6✓ Fixed in 0.32.02026-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.7✓ Fixed 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.7✓ Fixed in 0.31.12026-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.5✓ Fixed in 0.32.02026-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-67312MEDIUMCVSS 6.3EG 6.3✓ Fixed in 1.18.02026-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-67313MEDIUMCVSS 6.3EG 6.3✓ Fixed in 1.18.02026-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.3EG 6.3✓ Fixed 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-67315MEDIUMCVSS 6.9EG 6.9✓ Fixed in 0.33.02026-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-67316MEDIUMCVSS 6.3EG 6.3✓ Fixed in 0.33.02026-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.…
- CVE-2026-67317MEDIUMCVSS 6.3EG 6.3✓ Fixed in 1.18.02026-08-01
axios versions 1.7.0 before 1.18.0 fail to enforce maxBodyLength for WHATWG ReadableStream request bodies in the fetch adapter when Content-Length cannot be determined. Attackers can supply unknown-length stream data to bypass upload size …
- CVE-2026-67318MEDIUMCVSS 6.3EG 6.3✓ Fixed in 1.18.02026-08-01
axios versions >=1.13.0 (Node.js HTTP adapter) fail to enforce the configured maxBodyLength limit on streamed request bodies when requests are sent with httpVersion: 2. Because Node's HTTP/2 request API does not honor the maxBodyLength opt…
- CVE-2026-67319MEDIUMCVSS 6.3EG 6.3✓ Fixed in 1.18.02026-08-01
axios before 0.33.0 (and 1.x before 1.18.0) can consume inherited properties from nested request option objects when the JavaScript process's Object.prototype has already been polluted by another component. While the top-level merged confi…
- CVE-2026-67320HIGHCVSS 8.3EG 8.3✓ Fixed in 1.18.02026-08-01
axios in a Node.js deployment using the HTTP adapter can route requests through an attacker-controlled proxy. axios hardens merged request configuration by creating a null-prototype object, but request interceptors run after the merge; a c…
- CVE-2026-67321MEDIUMCVSS 6.9EG 6.9✓ Fixed in 1.18.02026-08-01
axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 contain an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed …
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.
Start Free Scan →