<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-05T05:30:21.237619+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/ghsa-6chq-wfr3-2hj9</id>
    <title>GHSA-6chq-wfr3-2hj9 — Axios: Header Injection via Prototype Pollution</title>
    <updated>2026-10-05T05:30:21.254126+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>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.</p>
<p>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's dependency tree is sufficient to trigger this gadget.</p>
<p>Prerequisites:</p>
<p>A prototype pollution primitive must exist somewhere in the application'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).</p>
<p>### Details</p>
<p>The vulnerability is in `lib/adapters/http.js`, in the data serialization pipeline:</p>
<p>```javascript
// lib/adapters/http.js 
} else if (utils.isFormData(data) &amp;&amp; utils.isFunction(data.getHeaders)) {
    headers.set(data.getHeaders());
    // ...
}
```</p>
<p>Axios uses two sequential duck-type checks, both of which can be satisfied vi…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-6chq-wfr3-2hj9"/>
  </entry>
</feed>
