| 概要 | Svelte is a performance oriented web framework. Prior to version 5.55.7, when using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output. If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. Note that this vulnerability only triggers if the user's browser has JavaScript enabled but Svelte's hydration mechanism does not reach the vulnerable element before the event fires. This issue has been patched in version 5.55.7. |
|---|---|
| 公表日 | 2026年6月10日2:17 |
| 登録日 | 2026年6月10日4:17 |
| 最終更新日 | 2026年6月12日3:41 |
| CVSS3.1 : MEDIUM | |
| スコア | 6.1 |
|---|---|
| ベクター | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 要 |
| 影響の想定範囲(S) | 変更あり |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:svelte:svelte:*:*:*:*:*:node.js:*:* | 5.55.7 | ||||
| タイトル | Svelte projectのSvelteにおけるクロスサイトスクリプティングの脆弱性 |
|---|---|
| 概要 | Svelteはパフォーマンス重視のウェブフレームワークです。バージョン5.55.7以前では、スプレッド構文を使用して信頼できないデータから属性をレンダリングする際に、イベントハンドラのプロパティがレンダリングされたHTML出力に含まれてしまいます。アプリケーションがユーザー制御または外部データを要素の属性としてスプレッドする場合、攻撃者は被害者のブラウザで悪意のあるイベントハンドラを実行させることが可能です。この脆弱性は、ユーザーのブラウザでJavaScriptが有効であり、かつSvelteのハイドレーション機構がイベント発火前に脆弱な要素に到達しない場合にのみ発生します。この問題はバージョン5.55.7で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月9日0:00 |
| 登録日 | 2026年6月12日14:53 |
| 最終更新日 | 2026年6月12日14:53 |
| Svelte project |
| Svelte 5.55.7 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月12日] 掲載 |
2026年6月12日14:53 |