wpForo Forum 3.2.4以下 - [quote]の描画に反映されるdisplay_nameを介した認証済みの購読者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 12:57 / 元情報の更新:2026/11/27 01:34(日本時間)
日本語訳
WordPress用プラグイン「wpForo Forum」は、3.2.4以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、保存型クロスサイトスクリプティングの脆弱性があります。WordPress本体のプロフィールフォームを通じたnickname / display_nameパラメータが使われ、thread[body]に含まれる[quote data-userid=..]が引き金になります。購読者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
悪用には、サイト管理者がprofiles.mention_nicknames設定を無効にしている必要があります。この設定はデフォルトで無効です。この状態では、apply_quotes()がdata-mention属性を組み立てる際、サニタイズされたnicknameではなくdisplay_nameを使用します。
原文(英語)
wpForo Forum <= 3.2.4 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'display_name' Reflected in [quote] Rendering
The wpForo Forum plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'nickname / display_name (via WP core profile form); thread[body] carries the [quote data-userid=..] trigger' parameter in all versions up to, and including, 3.2.4 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. Exploitation requires that the site administrator has disabled the profiles.mention_nicknames setting (which is off by default), causing apply_quotes() to use display_name rather than a sanitized nickname when building the data-mention attribute.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。