GHSA-qg5r-95m4-mjgj · 深刻度: medium · エコシステム: composer — Reflected Cross-site Scripting in yiisoft/yii2 Debug mode
Yii 2 is a PHP application framework. During internal penetration testing of a product based on Yii2, users discovered a Cross-site Scripting (XSS) vulnerability within the framework itself. This issue is relevant for the latest version of Yii2 (2.0.49.3). This issue lies in the mechanism for displaying function argument values in the stack trace. The vulnerability manifests when an argument's value exceeds 32 characters. For convenience, argument values exceeding this limit are truncated and displayed with an added "...". The full argument value becomes visible when hovering over it with the mouse, as it is displayed in the title attribute of a span tag. However, the use of a double quote (") allows an attacker to break out of the title attribute's value context and inject their own attributes into the span tag, including malicious JavaScript code through event handlers such as onmousemove. This vulnerability allows an attacker to execute arbitrary JavaScript code in the security context of the victim's site via a specially crafted link. This could lead to the theft of cookies (including httpOnly cookies, which are accessible on the page), content substitution, or complete takeover of user accounts. This issue has been addressed in version 2.0.50. Users are advised to upgrade. There are no known workarounds for this vulnerability.
総合評価: CVE-2024-32877 は低リスク(22.4/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.35%、26 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 3.98% | 0.35% | -3.64% |
| 2 | 2026-03-01 | 3.09% | 3.98% | +0.90% |
| 3 | 2025-11-21 | — | 3.09% | — |
EPSS の全履歴 (全 19 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 4.2 | 3.1 | MEDIUM |
|
1.6 | 2.5 | [email protected] |
| 4.7 | 3.1 | MEDIUM |
|
1.6 | 2.7 | [email protected] |
GHSA-qg5r-95m4-mjgj · 深刻度: medium · エコシステム: composer — Reflected Cross-site Scripting in yiisoft/yii2 Debug mode
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| yiiframework | yii | 2.0.49.3 | cpe:2.3:a:yiiframework:yii:2.0.49.3:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/yiisoft/yii2/commit/f7baab16e79f2369d4838ab5653c3c07ecf26615 | Patch |
| https://github.com/yiisoft/yii2/security/advisories/GHSA-qg5r-95m4-mjgj | Mitigation Vendor Advisory |