axios
npm24 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 1.8.22025-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 1.12.02025-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 4.8EG 4.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, 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-42043HIGHCVSS 7.2EG 7.2✓ 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-42044MEDIUMCVSS 6.5EG 6.5✓ 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-42264HIGHCVSS 7.4EG 7.4✓ 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…
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 →