GHSA-wf2x-8w6j-qw37 · 深刻度: medium · エコシステム: rubygems — view_component Cross-site Scripting vulnerability
view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. Versions prior to 3.9.0 and 2.83.0 have a cross-site scripting vulnerability that has the potential to impact anyone rendering a component directly from a controller with the view_component gem. Note that only components that define a `#call` method (i.e. instead of using a sidecar template) are affected. The return value of the `#call` method is not sanitized and can include user-defined content. In addition, the return value of the `#output_postamble` methodis not sanitized, which can also lead to cross-site scripting issues. Versions 3.9.0 and 2.83.0 have been released and fully mitigate both the `#call` and the `#output_postamble` vulnerabilities. As a workaround, sanitize the return value of `#call`.
総合評価: CVE-2024-21636 は悪用リスクが高い(62.1/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.50%、65 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.61% | 0.50% | -0.11% |
| 2 | 2025-11-18 | 0.50% | 0.61% | +0.11% |
| 3 | 2025-05-25 | — | 0.50% | — |
EPSS の全履歴 (全 6 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-wf2x-8w6j-qw37 · 深刻度: medium · エコシステム: rubygems — view_component Cross-site Scripting vulnerability
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| viewcomponent | view_component | < 2.83.0 | cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:* |
| viewcomponent | view_component | >= 3.0.0, < 3.9.0 | cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:* |