axios
1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed
Upgrading axios From 1.17.0 to 1.18.0
1 release in betweenevery note read
- 0
- changes to make
- 10
- advisories fixed
- 1
- new
- 0
- fixes
Security
12 advisories still affect 1.18.0
- Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlshigh · GHSA-3pq3-5fj3-cg6v
- Axios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP rangesmoderate · GHSA-44g4-m2mj-wpvx
- Axios: Fetch Adapter Header Injection via Inherited FormData getHeadersmoderate · GHSA-4hqw-qxg8-jxx2
Upgrading to 1.20.0 clears them.
Fixes 10 advisories affecting 1.17.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: NO_PROXY bypass for 0.0.0.0 local addresses in axiosmoderate · GHSA-f4gw-2p7v-4548
- Axios Node HTTP adapter can use an inherited proxy after interceptor config cloninghigh · GHSA-gcfj-64vw-6mp9
- Axios form serializer maxDepth bypass via {} metatokenmoderate · GHSA-hcpx-6fm6-wx23
- Axios: Fetch adapter `ReadableStream` uploads bypass `maxBodyLength`moderate · GHSA-jqh4-m9w3-8hp9
- Axios: Prototype pollution gadgets can alter axios request constructionmoderate · GHSA-mmx7-hfxf-jppx
- Axios: HTTP/2 streamed uploads bypass `maxBodyLength`moderate · GHSA-mwf2-3pr3-8698
- Axios: Deep formToJSON Key Recursion Can Cause Denial of Servicemoderate · GHSA-pmv8-rq9r-6j72
- Axios: Prototype pollution auth subfields can inject Basic authmoderate · GHSA-xj6q-8x83-jv6g
- 1.18.0
Redirect Header Safety: Added Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects, helping prevent custom auth headers such as API keys from leaking to another origin. (#10892)
- 1.18.0
URL And Request Hardening: Rejects malformed
http:andhttps:URLs that omit//withERR_INVALID_URL, while tightening prototype-pollution-safe config reads, stream size limits, FormData depth handling, data URL sizing, and localNO_PROXYmatching. (#11000)
Release by release
- Security
Redirect Header Safety: Added Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects, helping prevent custom auth headers such as API keys from leaking to another origin. (#10892)
- Security
URL And Request Hardening: Rejects malformed
http:andhttps:URLs that omit//withERR_INVALID_URL, while tightening prototype-pollution-safe config reads, stream size limits, FormData depth handling, data URL sizing, and localNO_PROXYmatching. (#11000) - New
Status Validation: Added
transitional.validateStatusUndefinedResolvesso applications can opt in to treatingvalidateStatus: undefinedlike the option was omitted, whilevalidateStatus: nullremains the explicit way to accept every status. (#10899)
- Security
3 internal lines (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.