axios versions from 0.28.0 before 0.33.0 and from 1.0.0 before 1.18.0 contain uncontrolled recursion in formDataToJSON (exposed as axios.formToJSON() and used internally when serializing FormData with Content-Type: application/json). When an application passes attacker-controlled FormData field names, a field name with thousands of nested bracket-delimited segments causes unbounded recursion in buildPath(), exhausting the JavaScript call stack (RangeError: Maximum call stack size exceeded) and causing denial of service for that request, or process termination in applications without appropriate error handling.
References
| Link | Resource |
|---|---|
| https://github.com/axios/axios/security/advisories/GHSA-pmv8-rq9r-6j72 | Exploit Mitigation Vendor Advisory |
| https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-formtojson | Third Party Advisory |
| https://github.com/axios/axios/security/advisories/GHSA-pmv8-rq9r-6j72 | Exploit Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-08-01 13:17
Updated : 2026-09-01 15:40
NVD link : CVE-2026-67312
Mitre link : CVE-2026-67312
CVE.ORG link : CVE-2026-67312
JSON object : View
Products Affected
axios
- axios
CWE
CWE-400
Uncontrolled Resource Consumption
