CVE-2026-42042 | Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercion

Exp

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.

公開: 2026-04-24 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2026-42042 は公開エクスプロイトあり(50/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.23%、13 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2026-42042 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2026-42042 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.07% 0.23% +0.16%
2 2026-06-05 0.03% 0.07% +0.04%
3 2026-04-25 0.03%

EPSS の全履歴 (全 3 件)

CVE-2026-42042 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.8 2.5 [email protected]

CVE-2026-42042 の弱点分類(列挙)

CVE-2026-42042 の GitHub Security Advisory

GHSA-xx6v-rp6x-q39c · 深刻度: medium · エコシステム: npm — Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in `withXSRFToken` Boolean Coercion

CVE-2026-42042 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2026-42042 not yet assigned priority: Debian including 1 source packages (node-axios), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-42042
ubuntu medium CVE-2026-42042 medium priority: Ubuntu including 1 source packages (node-axios), 6 status rows across 6 suites (focal, jammy, noble, questing, resolute, upstream): needs-triage 5, released 1. https://ubuntu.com/security/CVE-2026-42042

CVE-2026-42042 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
axios axios < 0.31.1 cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*
axios axios >= 1.0.0, < 1.15.1 cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*

CVE-2026-42042 の参考情報

URL タグ
https://github.com/axios/axios/security/advisories/GHSA-xx6v-rp6x-q39c Exploit Mitigation Vendor Advisory
cvelogic Threat Intelligence