Vulnerability library
Security checkJuly 20, 2026

Axios: Prototype pollution gadgets can alter axios request construction

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

axios is vulnerable to read-side prototype-pollution gadgets when Object.prototype has already been polluted by another vulnerability or dependency. The most broadly reachable issue is in the bodyless method aliases: axios.get(), axios.delete(), axios.head(), and axios.options() read inherited data before config normalization, causing attacker-controlled body data to be sent on requests that did not explicitly set a body.

Recommendation

Update the axios package to the latest compatible version. Followings are version details:

  • Affected version(s): **< 0.33.0 >= 1.0.0, < 1.18.0**
  • Patched version(s): **0.33.0 1.18.0**

References

Could your website be exposed too?

SmartScanner can check your website for Axios: Prototype pollution gadgets can alter axios request construction and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated July 20, 2026