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.
Severity (CVSS)
| Base score | 6.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-400 — Uncontrolled Resource Consumption
Affected products
| Vendor | Product | Versions |
|---|---|---|
| axios | axios | 0.28.0 to <1.18.0; 1.18.0 |
References
- https://github.com/axios/axios/security/advisories/GHSA-42h9-826w-cgv3 (vendor-advisory)
- https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-formdatatojson (third-party-advisory)
Generated from the official CVE List on 02 Aug 2026 07:05 UTC.