Description
Axios versions 0.28.0 and later contain uncontrolled recursion in formDataToJSON, the helper behind the public axios.formToJSON() / named formToJSON API and the default request transform used when FormData is sent with an application/json content type.
Recommendation
Update the axios package to the latest compatible version. Followings are version details:
Affected version(s): **>= 1.0.0, < 1.18.0 >= 0.28.0, < 0.33.0** Patched version(s): **1.18.0 0.33.0**
References
Could your website be exposed too?
SmartScanner can check your website for Axios: Excessive recursion in formDataToJSON can cause denial of service and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Axios: Deep formToJSON Key Recursion Can Cause Denial of Service - CVE-2026-67312
- Marked Vulnerable to OOM Denial of Service via Infinite Recursion in marked Tokenizer - CVE-2026-41680
- Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization - CVE-2026-101901
- string-math's string-math.js vulnerability can cause Regex Denial of Service (ReDoS) - CVE-2025-45143


