A flaw was found in axios. When the JavaScript environment's Object.prototype has been previously compromised through a technique known as prototype pollution, axios can inadvertently use malicious properties from nested configuration objects. This can lead to the silent injection of unauthorized authentication headers, potentially exposing sensitive credentials. Additionally, it could allow an attacker to alter how data is formatted for requests, leading to data manipulation. This vulnerability is only exploitable if another component has already introduced prototype pollution.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:HI:LA:N6.5/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N