{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42042","published":"2026-04-24T18:16:31.293000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-183","CWE-201"],"cpes":[{"criteria":"cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*","part":"a","vendor":"axios","product":"axios","version_end_excluding":"0.31.1"},{"criteria":"cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*","part":"a","vendor":"axios","product":"axios","version_start_including":"1.0.0","version_end_excluding":"1.15.1"}],"cpes_truncated":false,"vendors":["axios"],"products":["axios/axios"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xx6v-rp6x-q39c","ecosystem":"npm","name":"axios","purl":"pkg:npm/axios","ranges":[{"introduced":"1.0.0","fixed":"1.15.1"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-xx6v-rp6x-q39c","ecosystem":"npm","name":"axios","purl":"pkg:npm/axios","ranges":[{"introduced":"0","fixed":"0.31.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-42042/","html_en":"/en/cve/CVE-2026-42042/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42042","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42042"},"untrusted":{"vendor_name":"Axios","product_name":"Axios","desc_en":"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.","affected":[{"untrusted_vendor":"axios","untrusted_product":"axios","versions":[]}],"references":[{"url":"https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}