Better Messages <= 3.3.0 - 認証済み(購読者以上)ユーザー表示名を介した保存型DOMベースクロスサイトスクリプティング
元情報の公開:2026-12-01 21:15:06 / 更新:2026-12-02 09:28:27(UTC)
日本語訳
WordPress 用の Better Messages – チャットルーム、グループチャット、プライベートメッセージ、AI チャットボットプラグインは、入力のサニタイズと出力のエスケープが不十分なため、3.3.0 まで(3.3.0 を含む)すべてのバージョンにおいて 'name' パラメータを介した保存型 DOM ベースのクロスサイトスクリプティングの脆弱性があります。これにより、購読者レベル以上の認証済み攻撃者は、任意のウェブスクリプトをページに注入でき、ユーザーがそのページにアクセスするたびにスクリプトが実行されます。
この脆弱性は、管理者を含む任意のユーザーが共有会話内で攻撃者の表示名をクリックしたときに発動し、プラグインの stopButtonLoading() ハンドラがブラウザでデコードされた data-bm-icon-backup 属性値を loaderIcon.outerHTML に直接代入します。なお、攻撃を成功させるには管理者の操作が別途必要であり、攻撃者だけで脆弱性を発動させることはできません。
原文(英語)
Better Messages <= 3.3.0 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via User Display Name
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'name' parameter in all versions up to, and including, 3.3.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit triggers when any user, including an administrator, clicks the attacker's display name in a shared conversation, causing the plugin's stopButtonLoading() handler to assign the browser-decoded data-bm-icon-backup attribute value directly to loaderIcon.outerHTML. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。