Skip to main content
← All vulnerabilities
CVE-2026-101909GHSA-X97P-JQ2G-JP4F

Axios: Prototype Pollution Gadget in axios toFormData Options

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.0, 0.34.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

Axios is a promise-based HTTP client for the browser and Node.js. From 0.28.0 until 0.34.0 and 1.15.1 until 1.20.0, ToFormData processes inherited serialization options and visitor properties supplied through prototype pollution. A separate same-process prototype-pollution flaw supplies inherited dots, indexes, metaTokens, maxDepth, visitor, or Blob values before object serialization. The inherited options alter toFormData field naming and data interpretation, maxDepth can force request failure, Blob changes value handling, and a polluted visitor can execute when an attacker already has the stronger ability to inject a function. Serialized field naming and data interpretation can change, maxDepth can cause request failure, Blob can alter value handling, and a polluted visitor can execute under the stronger function-injection primitive. This issue is fixed in versions 0.34.0 and 1.20.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • axios axios

    From 1.15.1 · fixed in 1.20.0; From 0.28.0 · fixed in 0.34.0

  • axiosnpm

    From 0.28.0 · fixed in 0.34.0

  • axiosnpm

    From 1.15.1 · fixed in 1.20.0

References 6

GitHub · axios/axios