Search for vulnerabilities
| Vulnerability ID | VCID-p78g-vmhn-yyck |
| Aliases |
CVE-2026-42042
GHSA-xx6v-rp6x-q39c |
| Summary | 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 6.2 |
| Risk | 3.1 |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| cvssv3 | 6.1 | https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-42042.json |
| epss | 0.00028 | https://api.first.org/data/v1/epss?cve=CVE-2026-42042 |
| epss | 0.00032 | https://api.first.org/data/v1/epss?cve=CVE-2026-42042 |
| epss | 0.00035 | https://api.first.org/data/v1/epss?cve=CVE-2026-42042 |
| cvssv3.1_qr | MODERATE | https://github.com/advisories/GHSA-xx6v-rp6x-q39c |
| cvssv3.1 | 5.4 | https://github.com/axios/axios |
| generic_textual | MODERATE | https://github.com/axios/axios |
| cvssv3.1 | 5.4 | https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c |
| cvssv3.1_qr | MODERATE | https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c |
| generic_textual | MODERATE | https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c |
| ssvc | Track | https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c |
| cvssv3.1 | 5.4 | https://nvd.nist.gov/vuln/detail/CVE-2026-42042 |
| generic_textual | MODERATE | https://nvd.nist.gov/vuln/detail/CVE-2026-42042 |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Percentile | 0.07769 |
| EPSS Score | 0.00028 |
| Published At | April 26, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-04-25T23:21:55.402691+00:00 | Debian Importer | Import | https://security-tracker.debian.org/tracker/data/json | 38.4.0 |