CVE Explorer
CVE-2026-42042
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 s
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-201","description":"CWE-201: Insertion of Sensitive Information Into Sent Data","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-183","description":"CWE-183: Permissive List of Allowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"axios","vendor":"axios","versions":[{"status":"affected","version":">= 1.0.0, < 1.15.1"},{"status":"affected","version":"< 0.31.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-201","description":"CWE-201: Insertion of Sensitive Information Into Sent Data","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-183","description":"CWE-183: Permissive List of Allowed Inputs","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c","tags":["x_refsource_CONFIRM"],"url":"https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d834acf00139e291487f0e3d039ee410ded12b2439b566b457221d33116baff5 · sha256:cb38014e71273178… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.