axios
The e18e replacements list suggests something lighter. See the alternatives.
- 1.20.0 is the latest, published 26 August 2026.
- 56 security advisories, 1 with no fix yet.
- 1.x: 71 releases since 4 October 2022, 3 in the last 90 days.
Security advisories
Grouped by the version that fixes them, so one upgrade reads as one step.
No fixed version published yet · 1 advisory
- Malicious code in axios (npm)MAL-2026-2307
Fixed in 1.20.0 · 12 advisories
- HIGHAxios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlsGHSA-3pq3-5fj3-cg6v
- HIGHAxios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session InitializationGHSA-542g-h47m-68v8
- HIGHAxios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)GHSA-c29m-xwm3-cm6r
9 more
- HIGHAxios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnectionGHSA-m8m8-qj5v-23w3
- HIGHAxios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect LocationGHSA-mghh-pgcx-3jjj
- HIGHAxios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRFGHSA-r4gj-5m52-g5wh
- HIGHAxios: Prototype Pollution Gadget in axios toFormData OptionsGHSA-x97p-jq2g-jp4f
- MODERATEAxios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP rangesGHSA-44g4-m2mj-wpvx
- MODERATEAxios: Fetch Adapter Header Injection via Inherited FormData getHeadersGHSA-4hqw-qxg8-jxx2
- MODERATEAxios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP MethodGHSA-9fr6-4gfg-395g
- MODERATEAxios: Header Injection via Inherited headers After Minimal InterceptorGHSA-j8rh-479h-cp32
- MODERATEAxios: Prototype pollution gadget in fetch adapter can alter outbound requestsGHSA-vh66-26gq-q6x8
Fixed in 1.18.0 · 10 advisories
- HIGHAxios Node HTTP adapter can use an inherited proxy after interceptor config cloningGHSA-gcfj-64vw-6mp9
- MODERATEAxios: Excessive recursion in formDataToJSON can cause denial of serviceGHSA-42h9-826w-cgv3
- MODERATEAxios: Nested axios option objects can consume polluted prototype valuesGHSA-7q8q-rj6j-mhjq
7 more
- MODERATEAxios: NO_PROXY bypass for 0.0.0.0 local addresses in axiosGHSA-f4gw-2p7v-4548
- MODERATEAxios form serializer maxDepth bypass via {} metatokenGHSA-hcpx-6fm6-wx23
- MODERATEAxios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`GHSA-jqh4-m9w3-8hp9
- MODERATEAxios: Prototype pollution gadgets can alter axios request constructionGHSA-mmx7-hfxf-jppx
- MODERATEAxios: HTTP/2 streamed uploads bypass `maxBodyLength`GHSA-mwf2-3pr3-8698
- MODERATEAxios: Deep formToJSON Key Recursion Can Cause Denial of ServiceGHSA-pmv8-rq9r-6j72
- MODERATEAxios: Prototype pollution auth subfields can inject Basic authGHSA-xj6q-8x83-jv6g
Fixed in 1.16.0 · 8 advisories
- HIGHaxios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`GHSA-35jp-ww65-95wh
- HIGHAllocation of Resources Without Limits or Throttling in AxiosGHSA-777c-7fjr-54vf
- HIGHAxios: Regular Expression Denial of Service (ReDoS) via Cookie Name InjectionGHSA-hfxv-24rg-xrqf
5 more
- HIGHAxios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connectionGHSA-j5f8-grm9-p9fc
- HIGHAxios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP AdapterGHSA-p92q-9vqr-4j8v
- HIGHaxios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)GHSA-pjwm-pj3p-43mv
- MODERATEaxios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functionsGHSA-898c-q2cr-xwhg
- LOWAxios has a Patch Bypass: Proxy-Authorization Header Injection via Prototype Pollution — Incomplete Null-Prototype FixGHSA-654m-c8p4-x5fp
12 older fixes
Fixed in 1.15.2 · 3 advisories
- HIGHaxios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config MergeGHSA-3g43-6gmg-66jw
- HIGHAxios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijackingGHSA-q8qp-cvcw-x6jj
- MODERATEAxios: Invisible JSON Response Tampering via Prototype Pollution Gadget in `parseReviver`GHSA-3w6x-2g7m-8v23
Fixed in 1.15.1 · 11 advisories
- HIGHAxios: Header Injection via Prototype PollutionGHSA-6chq-wfr3-2hj9
- HIGHAxios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request HijackingGHSA-pf86-5x62-jrwf
- HIGHAxios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0GHSA-pmwg-cvhr-8vh7
8 more
- MODERATEAxios: CRLF Injection in multipart/form-data body via unsanitized blob.type in formDataToStreamGHSA-445q-vr5w-6q77
- MODERATEAxios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0GHSA-5c9x-8gcm-mpgx
- MODERATEAxios: unbounded recursion in toFormData causes DoS via deeply nested request dataGHSA-62hf-57xw-28j9
- MODERATEAxios: no_proxy bypass via IP alias allows SSRFGHSA-m7pr-hjqh-92cm
- MODERATEAxios: HTTP adapter streamed responses bypass maxContentLengthGHSA-vf2m-468p-8v99
- MODERATEAxios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge StrategyGHSA-w9j2-pvgh-6h63
- MODERATEAxios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean CoercionGHSA-xx6v-rp6x-q39c
- LOWAxios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParamsGHSA-xhjh-pmcv-23jw
Fixed in 1.15.0 · 2 advisories
- MODERATEAxios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRFGHSA-3p68-rc4w-qgx5
- MODERATEAxios has Unrestricted Cloud Metadata Exfiltration via Header Injection ChainGHSA-fvcv-3m26-pcqx
Fixed in 1.13.5 · 1 advisory
- HIGHAxios is Vulnerable to Denial of Service via __proto__ Key in mergeConfigGHSA-43fc-jf86-j433
Fixed in 1.13.2 · 1 advisory
- MODERATEAxios HTTP/2 Session Cleanup State Corruption VulnerabilityGHSA-qj83-cq47-w5f8
Fixed in 1.12.0 · 1 advisory
- HIGHAxios is vulnerable to DoS attack through lack of data size checkGHSA-4hjh-wcwx-xvwj
Fixed in 1.8.2 · 1 advisory
- HIGHaxios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URLGHSA-jr5f-v2jv-69x6
Fixed in 1.7.4 · 1 advisory
- HIGHServer-Side Request Forgery in axiosGHSA-8hc4-vh64-cxmj
Fixed in 1.6.0 · 1 advisory
- MODERATEAxios Cross-Site Request Forgery VulnerabilityGHSA-wf5p-g6vw-rhxx
Fixed in 0.21.2 · 1 advisory
- HIGHaxios Inefficient Regular Expression Complexity vulnerabilityGHSA-cph5-m8f7-6c5x
Fixed in 0.21.1 · 1 advisory
- MODERATEAxios vulnerable to Server-Side Request ForgeryGHSA-4w2v-q235-vp99
Fixed in 0.18.1 · 1 advisory
- HIGHDenial of Service in axiosGHSA-42xw-2xvc-qx8m
Releases in the last 90 days
Feed of releases and advisoriesEvery stable release, newest first. Notes are quoted as the maintainers published them.
0.34.0
16 September 2026This release hardens request configuration and proxy handling, adds caller diagnostics and cancellation context, and tightens TypeScript header types.
This release hardens request configuration and proxy handling, adds caller diagnostics and cancellation context, and tightens TypeScript header types.
Breaking Changes & Deprecations
- breaking
Header Types: TypeScript now rejects header values that are Promises, functions, or objects with custom toString() methods. Resolve promises, call functions, or explicitly convert objects before assigning header values. Supported scalar, array, and grouped headers remain available.
- breaking
Proxy Routing: NO_PROXY / no_proxy entries now support IPv4 and IPv6 CIDR ranges. Previously ineffective ranges now cause matching IP destinations to bypass the proxy; review existing ranges when upgrading.
Security Fixes
- security
Request Configuration: Prevent inherited properties from influencing form serializer options, default request methods, headers on interceptor-returned configs, and HTTP redirect hooks. Applications relying on inherited options must define those values as own properties.
- security
Hostname Processing: Replace quadratic regular-expression backtracking in proxy bypass hostname normalization with a linear scan, preventing excessive processing of crafted redirect hostnames.
New Features
Caller Diagnostics: Enable captureCallerStack: true on a request or instance to append original caller frames to asynchronous error stacks. Disabled by default.
Cancellation Context: Preserve AbortSignal.reason as CanceledError.reason, including objects and falsy values. Native and structural signals retain their identity and live getters through config merging.
Bug Fixes
Proxy Protocols: Accept HTTP(S) proxy schemes with or without a trailing colon, including casing and surrounding whitespace variations. Invalid nonempty strings now fail before connecting with ERR_BAD_OPTION_VALUE; redirect failures retain ERR_FR_REDIRECTION_FAILURE wrapping. Omitted protocols continue to inherit the target protocol.
Request Interceptors: Route synchronous interceptor and dispatch failures through response interceptors. Await recovery promises before dispatch; rejected recovery prevents sending the request, while successful recovery retains the last request config and ignores recovery return values.
Error Compatibility: Allow Axios to load alongside a read-only Error.prototype.toJSON, while preserving supplied own property descriptors and setters.
- breaking
1.20.0
26 August 2026This release hardens runtime option handling, adds RFC 9110 status-code aliases, fixes Node.js and XHR reliability issues, and refreshes project tooling and documentation.
This release hardens runtime option handling, adds RFC 9110 status-code aliases, fixes Node.js and XHR reliability issues, and refreshes project tooling and documentation.
Breaking Changes & Deprecations
- breaking
HTTP Status Naming: Added ContentTooLarge (413) and UnprocessableContent (422), while retaining PayloadTooLarge and UnprocessableEntity as backward-compatible deprecated aliases.
Security Fixes
- security
Runtime Option Handling: Hardened behavioral configuration reads against shared and foreign prototype pollution and normalized unsafe interceptor replacement objects. This also clarifies Fetch redirect and custom implementation behavior, HTTP/2 DNS and proxy handling, CIDR-based NO_PROXY matching, and malformed data URI rejection; see the PR for documented compatibility effects.
Bug Fixes
Interceptor Lifecycle: Prevented unbounded handler-array growth by trimming trailing ejected interceptors without changing iteration semantics, and kept interceptor operations safe when the public handlers field is nullish. (#11087, #11118)
Request Error Preservation: Prevented custom Error.prepareStackTrace implementations that return non-string values from replacing the original request failure with an unrelated TypeError.
XHR Reliability: Navigation-canceled requests now reject with ECONNABORTED instead of resolving with status 0, while successful downloads flush their final progress callback during the live loadend dispatch. (#11094, #11121)
Node.js Socket Memory: Removed request-context retention from per-socket error listeners, preventing completed response data from being pinned for the lifetime of pooled keep-alive sockets.
Core Methods and HTTP Errors: Prevented structural method-header buckets from leaking into outgoing headers, standardized invalid DNS lookup and httpVersion failures as AxiosError.ERR_BAD_OPTION_VALUE, and corrected the timeoutErrorMessage merge strategy.
- breaking
1.19.0
29 July 2026This release raises the form-data security floor, adds configuration and type-system capabilities, and fixes NO_PROXY matching, interceptor errors, progress reporting, and serialization edge cases.
This release raises the form-data security floor, adds configuration and type-system capabilities, and fixes NO_PROXY matching, interceptor errors, progress reporting, and serialization edge cases.
Security Fixes
- security
Multipart Form Data: Raised the form-data dependency floor to ^4.0.6, preventing fresh installations from resolving versions affected by the CRLF injection vulnerability GHSA-hmw2-7cc7-3qxx (github.com/advisories/GHSA-hmw2-7cc7-3qxx).
New Features
Configuration Extensibility: Preserved own-enumerable symbol-keyed fields through mergeConfig and added a generic params type across public TypeScript declarations, responses, errors, adapters, and serializers. (#11043, #11081)
Header Parameter Parsing: Added the opt-in AxiosHeaders.parseParameters() parser for quote-aware, RFC-style HTTP parameter parsing while preserving legacy parsing behavior.
HTTP Status Codes: Added the missing Cloudflare 520 WebServerReturnsAnUnknownError status and matching ESM/CJS declarations.
Bug Fixes
Form Data Conversion: Limited formDataToJSON path splitting to dot and bracket notation, preserving literal punctuation in keys, and removed browser-facing Buffer.from usage from toFormData to avoid unnecessary polyfills. (#11006, #11018)
Proxy Bypass: Canonicalized IPv4 shorthand, octal, and hexadecimal forms during NO_PROXY matching and honored * entries within comma- or space-separated bypass lists. (#11029, #11053)
Cancellation: Propagated already-aborted input signals immediately when composing abort signals.
Header Handling: Preserved empty first values for duplicate singleton headers and made AxiosHeaders#getSetCookie() consistently return arrays for present values. (#11036, #11037)
URL Handling: Included normalized, safely redacted offending URLs in malformed-protocol errors and removed repeated trailing slashes when combining base URLs. (#11024, #11038)
Progress Events: Clamped malformed negative progress values to zero and ensured final Node.js download progress events are delivered before streamed responses close. (#11039, #11040)
Error and JSON Serialization: Serialized Set values as arrays in JSON-compatible snapshots and synthesized useful AxiosError messages from otherwise-empty AggregateError instances. (#11044, #11059)
Content-Length Enforcement: Corrected base64 data: URL size estimation so maxContentLength is enforced consistently by the HTTP and Fetch adapters.
Synchronous Interceptors: Prevented requests from being dispatched after synchronous request interceptors fail unless their paired rejection handler resolves successfully.
- security
Major versions
- 1.xsince 4 October 2022 · latest 1.20.0 · 71 releases
- 0.xsince 29 August 2014 · latest 0.34.0 · 69 releases
Quality and security signals
What npm and deps.dev say about the latest release. Signals, not a verdict.
Reading npm and deps.dev…
Registry facts last checked 20 October 2026. Releases and advisories last read 20 October 2026.
Know when your own dependencies move
Inlinr tracks your coding time automatically. Switch dependency tracking on for a project and it reads that repository's manifest to show what is behind and what has been deprecated — off by default, one project at a time.