Description
toFormData recursively walks nested objects with no depth limit, so a deeply nested value passed as request data crashes the Node.js process with a RangeError.
Recommendation
Update the axios package to the latest compatible version. Followings are version details:
Affected version(s): **<= 0.31.0 >= 1.0.0, < 1.15.1** Patched version(s): **0.31.1 1.15.1**
References
Could your website be exposed too?
SmartScanner can check your website for Axios: unbounded recursion in toFormData causes DoS via deeply nested request data and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Axios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS) - CVE-2026-101903
- flatted vulnerable to unbounded recursion DoS in parse() revive phase - CVE-2026-32141
- axios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functions - CVE-2026-44490
- React Router vulnerable to DoS via unbounded path expansion in __manifest endpoint - CVE-2026-42342


