Description
axios versions 0.31.1 before 0.33.0 and 1.15.1 before 1.18.0 contain an incomplete depth-limit bypass in toFormData.js when serializing objects with top-level keys ending in '{}'. Attackers who control object keys and nested values passed to axios form or parameter serialization can trigger a RangeError from JSON.stringify, causing denial of service in the affected request path.
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.31.1, < 0.33.0 |
| axios | axios | >= 1.15.1, < 1.18.0 |
References
- https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23Exploit, Vendor Advisory
- https://www.vulncheck.com/advisories/axios-before-denial-of-service-via-maxdepth-bypassThird Party Advisory
- https://github.com/axios/axios/security/advisories/GHSA-hcpx-6fm6-wx23Exploit, Vendor Advisory
Timeline
- Published
- Aug 1, 2026
- Last modified
- Sep 1, 2026
- NVD status
- Analyzed