Vulnerability library
Security checkMay 12, 2026

Axios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijacking

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

Five config properties in the HTTP adapter are read via direct property access without hasOwnProperty guards, making them exploitable as prototype pollution gadgets. When Object.prototype is polluted by another dependency in the same process, axios silently picks up these polluted values on every outbound HTTP request.

Recommendation

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

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

References

Could your website be exposed too?

SmartScanner can check your website for Axios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijacking and gives you actionable findings to investigate.

Start a free scan

Related Issues

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