Skip to main content
← All vulnerabilities
CVE-2026-67312GHSA-PMV8-RQ9R-6J72

axios 0.28.0 before 0.33.0 and 1.0.0 before 1.18.0 Denial of Service via formToJSON

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.33.0, 1.18.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

axios versions from 0.28.0 before 0.33.0 and from 1.0.0 before 1.18.0 contain uncontrolled recursion in formDataToJSON (exposed as axios.formToJSON() and used internally when serializing FormData with Content-Type: application/json). When an application passes attacker-controlled FormData field names, a field name with thousands of nested bracket-delimited segments causes unbounded recursion in buildPath(), exhausting the JavaScript call stack (RangeError: Maximum call stack size exceeded) and causing denial of service for that request, or process termination in applications without appropriate error handling.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • axios axios

    From 0.28.0 · fixed in 0.33.0

  • axios axios

    From 1.0.0 · fixed in 1.18.0

  • axiosnpm

    From 0.28.0 · fixed in 0.33.0

  • axiosnpm

    From 1.0.0 · fixed in 1.18.0

References 2

GitHub · axios/axios

vulncheck.com