axios projectのaxiosにおける複数の脆弱性
| Title |
axios projectのaxiosにおける複数の脆弱性
|
| Summary |
AxiosはブラウザおよびNode.js向けのPromiseベースのHTTPクライアントです。バージョン1.15.1および0.31.1より前のAxiosライブラリでは、XSRFトークン保護のロジックがwithXSRFToken設定プロパティに対して厳密な真偽値比較を使用せず、JavaScriptのtruthy/falsyセマンティクスを使っていました。このプロパティが真の非ブール値に設定された場合(プロトタイプ汚染や誤設定によって)、同一オリジンチェック(isURLSameOrigin)がショートサーキットされ、攻撃者が制御するクロスオリジンサーバーを含むすべてのリクエスト先にXSRFトークンが送信されてしまいます。この脆弱性はバージョン1.15.1および0.31.1で修正されました。
|
| Possible impacts |
当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 24, 2026, midnight |
| Registration Date |
April 30, 2026, 12:25 p.m. |
| Last Update |
April 30, 2026, 12:25 p.m. |
|
CVSS3.0 : 警告
|
| Score |
5.4
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected System
| axios project |
|
axios 0.31.1 未満
|
|
axios 1.0.0 以上 1.15.1 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年04月30日] 掲載 |
April 30, 2026, 12:25 p.m. |
NVD Vulnerability Information
CVE-2026-42042
| 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.
|
| Publication Date |
April 25, 2026, 3:16 a.m. |
| Registration Date |
April 25, 2026, 4:08 a.m. |
| Last Update |
April 28, 2026, 3:57 a.m. |
Related information, measures and tools
Common Vulnerabilities List