Vulnerability library
Security checkJune 12, 2026

axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge

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

High severitynpmaxios

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Axios versions before the fixed releases contain prototype-pollution gadgets in request config processing. If another vulnerability in the same JavaScript process has already polluted Object.prototype.transformResponse, affected Axios versions may treat that inherited value as request configuration or as an option validator.

Recommendation

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

  • Affected version(s): **>= 0.19.0, < 0.31.1 >= 1.0.0, < 1.15.2**
  • Patched version(s): **0.31.1 1.15.2**

References

Could your website be exposed too?

SmartScanner can check your website for axios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 12, 2026