Axios
Axios: Prototype pollution read-side gadgets in HTTP adapter allow credential injection and request hijacking
Axios is a promise based HTTP client for the browser and Node.js. From version 1.0.0 to before version 1.15.2, fFive config properties (auth, baseURL, socketPath, beforeRedirect, and insecureHTTPParser) 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. This issue has been patched in version 1.15.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.0.0, < 1.15.2
Fixed in 1.15.2
Mitigation
Upgrade axios to 1.15.2 or later.
References
- Vendor advisory github.com/axios/axios/security/advisories/GHS…
- Patch github.com/axios/axios/pull/10779
- Patch github.com/axios/axios/commit/47915144662f2733…
1 more
- Release notes github.com/axios/axios/releases/tag/v1.15.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.