<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 05 Oct 2026 11:45:25 +0000</lastBuildDate>
    <item>
      <title>GHSA-6chq-wfr3-2hj9 — Axios: Header Injection via Prototype Pollution</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-6chq-wfr3-2hj9</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: axios&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;A prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request.&lt;/p&gt;
&lt;p&gt;The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the application&amp;#39;s dependency tree is sufficient to trigger this gadget.&lt;/p&gt;
&lt;p&gt;Prerequisites:&lt;/p&gt;
&lt;p&gt;A prototype pollution primitive must exist somewhere in the application&amp;#39;s dependency chain (e.g., via lodash.merge, qs, JSON5, or any deep-merge utility processing attacker-controlled input). The pollution source is not required to be in Axios.
The application must use Axios to make HTTP requests with a data payload (POST, PUT, PATCH).&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerability is in `lib/adapters/http.js`, in the data serialization pipeline:&lt;/p&gt;
&lt;p&gt;```javascript
// lib/adapters/http.js 
} else if (utils.isFormData(data) &amp;amp;&amp;amp; utils.isFunction(data.getHeaders)) {
    headers.set(data.getHeaders());
    // ...
}
```&lt;/p&gt;
&lt;p&gt;Axios uses two sequential duck-type checks, both of which can be satisfied vi…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: axios&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;A prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request.&lt;/p&gt;
&lt;p&gt;The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the application&amp;#39;s dependency tree is sufficient to trigger this gadget.&lt;/p&gt;
&lt;p&gt;Prerequisites:&lt;/p&gt;
&lt;p&gt;A prototype pollution primitive must exist somewhere in the application&amp;#39;s dependency chain (e.g., via lodash.merge, qs, JSON5, or any deep-merge utility processing attacker-controlled input). The pollution source is not required to be in Axios.
The application must use Axios to make HTTP requests with a data payload (POST, PUT, PATCH).&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;The vulnerability is in `lib/adapters/http.js`, in the data serialization pipeline:&lt;/p&gt;
&lt;p&gt;```javascript
// lib/adapters/http.js 
} else if (utils.isFormData(data) &amp;amp;&amp;amp; utils.isFunction(data.getHeaders)) {
    headers.set(data.getHeaders());
    // ...
}
```&lt;/p&gt;
&lt;p&gt;Axios uses two sequential duck-type checks, both of which can be satisfied vi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-6chq-wfr3-2hj9</guid>
    </item>
  </channel>
</rss>
