CVE-2026-42042
Beskrivelse
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library's XSRF token protection logic uses JavaScript truthy/falsy semantics instead of strict boolean comparison for the withXSRFToken config property. When this property is set to any truthy non-boolean value (via prototype pollution or misconfiguration), the same-origin check (isURLSameOrigin) is short-circuited, causing XSRF tokens to be sent to all request targets including cross-origin servers controlled by an attacker. This vulnerability is fixed in 1.15.1 and 0.31.1.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-04-24
- Sist endret
- 2026-11-11
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N- Scoret av
- security-advisories@github.com
- Sannsynlighet for utnyttelse
-
0.2 %
høyere enn 14 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Axios | Axios | < 0.31.1 | Berørt |
| Axios | Axios | ≥ 1.0.0, < 1.15.1 | Berørt |
Svakhetstype
-
CWE-183: Permissive List of Allowed Inputs
The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - t…
-
CWE-201: Insertion of Sensitive Information Into Sent Data
The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.
Referanser
- https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c
- https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c
Relatert hos Berigo
Artikler
-
OpenAI bytter signeringssertifikat etter angrepet mot Axios
Samme produkt
2026-04-10
Sertifikatet for signering av OpenAIs macOS-applikasjoner lå eksponert i en byggekjede som brukte Axios, og byttes ut som et forsiktighetstiltak.
-
Forsyningskjedeangrep mot axios rammet et av npms mest brukte bibliotek
Samme produkt
2026-03-31
To skadelige versjoner ble publisert med vedlikeholderens kompromitterte konto og installerte en fjernstyringstrojaner på macOS, Windows og Linux.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.