Medium · published April 11, 2026
Axios is a promise based HTTP client for the browser and Node.js. Versions prior to 1.15.0 and 0.3.1 are vulnerable to a specific gadget-style attack chain in which prototype pollution in a third-party dependency may be leveraged to inject unsanitized header values into outbound requests. This vulnerability is fixed in 1.15.0 and 0.3.1.
| Product | Versions | Fixed in |
|---|---|---|
| axios/axios | < 0.31.0 | 0.31.0 |
| axios/axios | ≥ 1.0.0, < 1.15.0 | 1.15.0 |