CVE-2026-42042
1 advisory.
npm/axios CVE-2026-42042: medium 5.4, EPSS 0.32%
Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercion
Action: Upgrade axios to 0.31.1 or later.
npm i axios@1.15.1npm i axios@0.31.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 1.0.0 | 1.15.1 | - |
| 0 | 0.31.1 | - |
Fixed versions
| 1.15.1 | 0.31.1 |
Sources
- osv: GHSA-xx6v-rp6x-q39c
- https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c
- https://nvd.nist.gov/vuln/detail/CVE-2026-42042
- https://github.com/axios/axios
CVE-2026-42042 · published · modified · JSON