axios
1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed
Upgrading axios From 1.15.0 to 1.15.1
1 release in betweenevery note read
- 0
- changes to make
- 11
- advisories fixed
- 2
- new
- 8
- fixes
Security
27 advisories still affect 1.15.1
- axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in `config.proxy`high · GHSA-35jp-ww65-95wh
- axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Mergehigh · GHSA-3g43-6gmg-66jw
- Axios: HTTP/2 adapter bypasses configured DNS lookup and proxy controlshigh · GHSA-3pq3-5fj3-cg6v
Upgrading to 1.20.0 clears them.
Fixes 11 advisories affecting 1.15.0
- Axios: CRLF Injection in multipart/form-data body via unsanitized blob.type in formDataToStreammoderate · GHSA-445q-vr5w-6q77
- Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0moderate · GHSA-5c9x-8gcm-mpgx
- Axios: unbounded recursion in toFormData causes DoS via deeply nested request datamoderate · GHSA-62hf-57xw-28j9
- Axios: Header Injection via Prototype Pollutionhigh · GHSA-6chq-wfr3-2hj9
- Axios: no_proxy bypass via IP alias allows SSRFmoderate · GHSA-m7pr-hjqh-92cm
- Axios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request Hijackinghigh · GHSA-pf86-5x62-jrwf
- Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0high · GHSA-pmwg-cvhr-8vh7
- Axios: HTTP adapter streamed responses bypass maxContentLengthmoderate · GHSA-vf2m-468p-8v99
- Axios: Authentication Bypass via Prototype Pollution Gadget in `validateStatus` Merge Strategymoderate · GHSA-w9j2-pvgh-6h63
- Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParamslow · GHSA-xhjh-pmcv-23jw
- Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercionmoderate · GHSA-xx6v-rp6x-q39c
- 1.15.1
This release ships a coordinated set of security hardening fixes across headers, body/redirect limits, multipart handling, and XSRF/prototype-pollution vectors, alongside a broad sweep of bug fixes, test migrations, and threat-model documentation updates.
- 1.15.1
Header Injection Hardening: Tightened validation and sanitisation across request header construction to close the header-injection attack surface. (#10749)
- 1.15.1
CRLF Stripping in Multipart Headers: Correctly strips CR/LF from multipart header values to prevent injection via field names and filenames. (#10758)
- 1.15.1
Prototype Pollution / Auth Bypass: Replaced unsafe
inchecks withhasOwnPropertyto prevent authentication bypass via prototype pollution on config objects, with additional regression tests. (#10761, #10760) - 1.15.1
withXSRFTokenTruthy Bypass: Short-circuits on any truthy non-boolean value, so an ambiguous config no longer silently leaks the XSRF token cross-origin. (#10762) - 1.15.1
maxBodyLengthWith Zero Redirects: EnforcesmaxBodyLengtheven whenmaxRedirectsis set to0, closing a bypass path for oversized request bodies. (#10753) - 1.15.1
Streamed Response
maxContentLengthBypass: AppliesmaxContentLengthto streamed responses that previously bypassed the cap. (#10754) - 1.15.1
Follow-up CVE Completion: Completes an earlier incomplete CVE fix to fully close the regression window. (#10755)
Release by release
- Security
This release ships a coordinated set of security hardening fixes across headers, body/redirect limits, multipart handling, and XSRF/prototype-pollution vectors, alongside a broad sweep of bug fixes, test migrations, and threat-model documentation updates.
- Security
Header Injection Hardening: Tightened validation and sanitisation across request header construction to close the header-injection attack surface. (#10749)
- Security
CRLF Stripping in Multipart Headers: Correctly strips CR/LF from multipart header values to prevent injection via field names and filenames. (#10758)
- Security
Prototype Pollution / Auth Bypass: Replaced unsafe
inchecks withhasOwnPropertyto prevent authentication bypass via prototype pollution on config objects, with additional regression tests. (#10761, #10760)
- Security
6 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.