Vulnerability
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 servers controlled by an attacker. This vulnerability is fixed in 1.15.1 and 0.31.1.
211 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2232-824h-c4pc
- CGA-2897-qmw6-v252
- CGA-2gcv-h5rg-6wvq
- CGA-2mxq-vjph-hv86
- CGA-2vw7-88v9-5pqw
- CGA-2wrq-4p32-qw2m
- CGA-3729-c878-v4pw
- CGA-3889-fpg6-wwv8
- CGA-38r9-74w2-6768
- CGA-3cc9-j6hf-9c29
- CGA-3h68-fvj4-c4g4
- CGA-3pcg-w8vj-wh25
- CGA-3r95-jjrw-f78q
- CGA-3rj4-fqfj-99qx
- CGA-3x4m-rw6q-542p
- CGA-4264-3563-wc37
- CGA-427q-8f4w-78hw
- CGA-42qh-qwgx-xfj6
- CGA-44r5-j87q-fpwj
- CGA-467r-fvc8-c822
- CGA-47j4-m72j-44pp
- CGA-4927-fc3h-j25x
- CGA-4g8x-fq8h-xrx6
- CGA-4m5f-499g-f435
- CGA-4m62-qf63-xrrq
- CGA-4mjc-x747-4q4q
- CGA-4qw7-xwjm-c87r
- CGA-54fp-cm6g-rp8x
- CGA-56pw-pm6v-mgpc
- CGA-57v3-mwqc-vgv4
- CGA-5f38-w55x-wr62
- CGA-5gqx-8p95-wx25
- CGA-5hm2-gp8h-p76q
- CGA-5jw5-742x-fqxh
- CGA-5mwj-f5wh-8vrj
- CGA-5vj2-9xh4-rwf5
- CGA-62j8-4qw8-r3vr
- CGA-632q-qp6c-hc83
- CGA-63fv-jrp9-v8wf
- CGA-653g-rvc5-w3hr
- CGA-69x3-67v8-38x5
- CGA-6cmh-9f85-v3xc
- CGA-6f2v-vgmx-qqgm
- CGA-6m52-cpfr-wr2r
- CGA-6mqq-rhp4-26f2
- CGA-6w4w-2wf8-xvjp
- CGA-74pr-jjf6-73h6
- CGA-7735-246x-8xpw
- CGA-77g7-g5pw-2r79
- CGA-77px-6pfj-76g8
- CGA-79xh-47x4-pw4p
- CGA-7gv8-jc3f-j4gm
- CGA-7h4q-xqmg-6rrj
- CGA-7jj7-vxmp-2m32
- CGA-7mpc-gpp8-4q58
- CGA-7p58-qppv-3xqf
- CGA-7r89-g6pf-xmhr
- CGA-7wrp-4p38-m5hw
- CGA-7wvx-xhwj-768q
- CGA-84jj-q625-j9mv
- CGA-84pf-5fmj-cvm3
- CGA-867f-9v74-6m4v
- CGA-8fmv-mrx2-c2x2
- CGA-8g5r-56r9-jpw7
- CGA-8gxm-2pc5-cq9p
- CGA-8jx6-crv7-6hgp
- CGA-8rvh-pvgg-9677
- CGA-8vgf-qqjc-pqfp
- CGA-8x9f-7fgm-375j
- CGA-92mh-pmg6-ghvr
- CGA-932q-52h5-7xgc
- CGA-93vj-75p3-ffw3
- CGA-93wj-373j-rw3g
- CGA-97m8-x8vg-hfvj
- CGA-9f5w-vmf7-48jc
- CGA-9qpw-68xr-j864
- CGA-9rwv-2crx-jq54
- CGA-9w7m-wmc4-rc7f
- CGA-9x42-g3hc-m72v
- CGA-c7j3-2cp7-3x49
- CGA-c88f-hvv2-5mr7
- CGA-c896-j4q2-vf7c
- CGA-c8vr-6986-cj47
- CGA-cgh8-92mh-6h9m
- CGA-cj95-9996-62ww
- CGA-cjcf-mfvg-7wqc
- CGA-cvxf-cj94-372w
- CGA-cx2q-3pcg-cw8q
- CGA-cxp7-ggjx-9vjm
- CGA-f35h-cjf9-m6m4
- CGA-f42j-7f48-2w27
- CGA-fcgj-6h2c-j5fh
- CGA-ffcf-7gqg-gxm7
- CGA-fg92-jwrr-g26f
- CGA-fhgc-4gwg-2jgp
- CGA-fm84-hw65-67gh
- CGA-fmfj-g26f-qrhv
- CGA-fw3r-q4j6-fjx8
- CGA-g32v-8g98-xg7w
- CGA-g3c9-f236-hq6m
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-42042.