axios
1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed
Upgrading axios From 0.31.1 to 0.32.0
1 release in betweenevery note read
- 2
- changes to make
- 5
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.32.0
- Breaking0.32.0
Security
9 advisories still affect 0.32.0
- Axios: Excessive recursion in formDataToJSON can cause denial of servicemoderate · GHSA-42h9-826w-cgv3
- Axios: Nested axios option objects can consume polluted prototype valuesmoderate · GHSA-7q8q-rj6j-mhjq
- Axios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Methodmoderate · GHSA-9fr6-4gfg-395g
Upgrading to 0.34.0 clears them.
Fixes 5 advisories affecting 0.31.1
- axios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functionsmoderate · GHSA-898c-q2cr-xwhg
- Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injectionhigh · GHSA-hfxv-24rg-xrqf
- Axios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connectionhigh · GHSA-j5f8-grm9-p9fc
- Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapterhigh · GHSA-p92q-9vqr-4j8v
- axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)high · GHSA-pjwm-pj3p-43mv
- 0.32.0
Default error redaction: AxiosError.toJSON() now redacts sensitive keys by default to prevent credential leaks in logs. The behavior is configurable via config.redact, with defaults exposed on defaults.redact.
- 0.32.0
Cookie & XSRF handling: Cookie names are read literally rather than via regex, and only own properties are respected when evaluating withXSRFToken.
- 0.32.0
Proxy bypass IPv6 parity: NO_PROXY matching now handles canonical IPv4-mapped IPv6 forms such as ::ffff:127.0.0.1 and ::ffff:7f00:1.
- 0.32.0
Node http adapter hardening: Strips Proxy-Authorization when no proxy is in use and gates socketPath behind a new allowedSocketPaths allowlist (string or array, normalized) to reduce accidental Unix socket exposure.
- 0.32.0
Browser xhr adapter: Stricter own-property checks when reading config and headers.
- 0.32.0
URL parameters: AxiosURLSearchParams keeps %00 encoded and applies consistent encoding throughout.
- 0.32.0
Public type surface: Adds formDataHeaderPolicy, redact, and allowedSocketPaths to the TypeScript declarations alongside their runtime defaults.
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.