axios
axios
| Version / range | Status | Type |
|---|---|---|
| >= 1.12.0, < 1.20.0 | affected | — |
Axios is a promise-based HTTP client for the browser and Node.js. From 1.12.0 until 1.20.0, ResolveConfig reads inherited Symbol.toStringTag, append, and getHeaders properties while resolving FormData headers. A separate same-process prototype-pollution flaw supplies an array or non-plain class instance whose inherited properties make it appear FormData-like; plain objects are blocked. The inherited getHeaders function can return attacker-controlled headers that resolveConfig merges into a fetch adapter request. Attacker-controlled headers can alter authorization, cache, metadata-service, or application-specific request behavior. This issue is fixed in version 1.20.0.
Risk score
6.9
CVSS 4.0
axios
| Version / range | Status | Type |
|---|---|---|
| >= 1.12.0, < 1.20.0 | affected | — |
6.9
CVSS 4.0