axios
1.21.1 · 9 Nov 2026MIT150.1M / weekRepositoryHomepagenpmAtom feed
Upgrading axios From 0.27.2 to 0.28.0
1 release in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking0.28.0
Security
27 advisories still affect 0.28.0
- axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Mergehigh · GHSA-3g43-6gmg-66jw
- Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRFmoderate · GHSA-3p68-rc4w-qgx5
- Axios: Excessive recursion in formDataToJSON can cause denial of servicemoderate · GHSA-42h9-826w-cgv3
Upgrading to 0.34.0 clears them.
Fixes 1 advisory affecting 0.27.2
- Axios Cross-Site Request Forgery Vulnerabilitymoderate · GHSA-wf5p-g6vw-rhxx
- 0.28.0
security: Fixed CVE-2023-45857 by backporting
withXSRFTokenoption to v0.x
Release by release
- Security
security: Fixed CVE-2023-45857 by backporting
withXSRFTokenoption to v0.x - Breaking
Removed incorrect argument for NetworkError constructor
- New
Allow null indexes on formSerializer and paramsSerializer v0.x
- New
Added
axios.formToJSONmethod
- Security
9 other lines we could not sort, mostly version bumps
- 0.28.0
Fixing content-type header repeated #4745
- 0.28.0
URL params serializer
- 0.28.0
Adding types for progress event callbacks #4675
- 0.28.0
Adding Canceler parameters config and request
- 0.28.0
Fixing Z_BUF_ERROR when no content
- 0.28.0
Use type alias instead of interface for AxiosPromise
- 0.28.0
Include request and config when creating a CanceledError instance
- 0.28.0
Replaced webpack with rollup
- 0.28.0
Updated AxiosError.config to be optional in the type definition
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.