CyberRota Analysis
AI-GeneratedThe vulnerability affects axios versions prior to 0.33.0 and 1.x before 1.18.0, allowing for the consumption of inherited properties from nested request option objects due to prototype pollution in the JavaScript environment. This can lead to unauthorized injection of an Authorization header and manipulation of query-string serialization, potentially compromising application security. Developers and organizations utilizing affected versions of axios should prioritize remediation, especially those handling sensitive authentication data or relying on custom serialization logic.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
axios before 0.33.0 (and 1.x before 1.18.0) can consume inherited properties from nested request option objects when the JavaScript process's Object.prototype has already been polluted by another component. While the top-level merged config uses a null prototype, nested plain objects such as auth and paramsSerializer are cloned into ordinary objects and read without own-property checks. When an application passes placeholder nested objects such as auth: {} or paramsSerializer: {}, inherited username/password values can cause silent injection of an Authorization: Basic header, and inherited encode/serialize values can alter query-string serialization (full serializer replacement requires a function-valued pollution primitive). This is exploitable only in the presence of pre-existing prototype pollution.