Description
Axios is a promise-based HTTP client for the browser and Node.js. From 0.28.0 until 0.34.0 and 1.15.1 until 1.20.0, ToFormData processes inherited serialization options and visitor properties supplied through prototype pollution. A separate same-process prototype-pollution flaw supplies inherited dots, indexes, metaTokens, maxDepth, visitor, or Blob values before object serialization. The inherited options alter toFormData field naming and data interpretation, maxDepth can force request failure, Blob changes value handling, and a polluted visitor can execute when an attacker already has the stronger ability to inject a function. Serialized field naming and data interpretation can change, maxDepth can cause request failure, Blob can alter value handling, and a polluted visitor can execute under the stronger function-injection primitive. This issue is fixed in versions 0.34.0 and 1.20.0.
References7
- github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917…
- github.com/axios/axios/commit/d29be181f85f6fe93397a07b1f69606d9…
- github.com/axios/axios/pull/11141
- github.com/axios/axios/releases/tag/v0.34.0
- github.com/axios/axios/releases/tag/v1.20.0
- github.com/axios/axios/security/advisories/GHSA-x97p-jq2g-jp4f
- github.com/axios/axios/security/advisories/GHSA-x97p-jq2g-jp4f
Metrics
- CVSS 4.0
-
8.3
HIGH
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 0% percentile: 43 · as of 9 November 2026
- CWE
- CWE-1321
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.