PT-2026-35043 · Npm · Axios
Raulvdv
·
Published
2026-04-24
·
Updated
2026-05-18
·
CVE-2026-42035
CVSS v3.1
7.4
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Axios versions prior to 1.15.1
Axios versions prior to 0.31.1
Description
A prototype pollution gadget exists in the HTTP adapter located in 'lib/adapters/http.js'. This issue occurs due to duck-type checking of the data payload. If
Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, the software misidentifies plain object payloads as FormData instances. This allows an attacker to trigger the getHeaders() function and inject arbitrary HTTP headers into outgoing requests. The trigger can be any prototype pollution primitive within the application's dependency tree, not necessarily originating from the software itself.Recommendations
Update to version 1.15.1 or later.
Update to version 0.31.1 or later.
Exploit
Fix
Prototype Pollution
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Axios