Description
axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON when processing FormData field names with deeply nested bracket segments. Attackers can supply FormData with field names containing thousands of nested brackets to exhaust the JavaScript call stack and trigger RangeError, causing request failure or process termination in applications that do not handle the exception.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| axios | axios | >= 0.28.0, < 1.18.0 |
References
- https://github.com/axios/axios/security/advisories/GHSA-42h9-826w-cgv3Exploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-formdatatojsonThird Party Advisory
- https://github.com/axios/axios/security/advisories/GHSA-42h9-826w-cgv3Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Aug 1, 2026
- Last modified
- Sep 1, 2026
- NVD status
- Analyzed