<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T15:55:55.702072+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-pmv8-rq9r-6j72</id>
    <title>GHSA-pmv8-rq9r-6j72 — Axios: Deep formToJSON Key Recursion Can Cause Denial of Service</title>
    <updated>2026-09-30T15:55:55.705323+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: axios</p>
<p>## Summary</p>
<p>Axios versions starting with `0.28.0` contain uncontrolled recursion in `formDataToJSON`, which is exposed as `axios.formToJSON()` and used internally when axios serialises `FormData` with `Content-Type: application/json`.</p>
<p>If an application passes attacker-controlled `FormData` field names to this functionality, a field name with thousands of nested bracket segments can exhaust the JavaScript call stack and cause denial of service for that request or, in applications without appropriate error handling, process termination.</p>
<p>## Impact</p>
<p>Applications are affected only when untrusted users can control `FormData` key names that are converted through axios.</p>
<p>Affected paths include direct use of `axios.formToJSON()` on untrusted `FormData` and axios requests in which attacker-controlled `FormData` is sent with `Content-Type: application/json`.</p>
<p>The observed failure is `RangeError: Maximum call stack size exceeded`. In local testing, this error is catchable, so process-wide crash depends on the consuming application's error handling and runtime behaviour.</p>
<p>## Affected Functionality</p>
<p>Affected functionality:
- `axios.formToJSON(formData)`
- Named ESM export `formToJSON`
- Default `transformRequest` behaviour for `FormData` when `Content-Type` contains `application/json`</p>
<p>Unaffected functionality:
- Normal multipart `FormData` submission without JSON serialisation
- `toFormData`, which already enforces a `maxDepth` guard
- Axios versions `&lt;=0.27.2`, where `formDataToJSON`…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-pmv8-rq9r-6j72"/>
  </entry>
</feed>
