EZ SQL Reports Shortcode Widget and DB Backup 5.25.25以下 - コメントのUser-Agentヘッダーを介した認証不要の格納型クロスサイトスクリプティング
元情報の公開:2026/11/13 06:11 / 元情報の更新:2026/11/13 18:35(日本時間)
日本語訳
WordPress用プラグイン「EZ SQL Reports Shortcode Widget and DB Backup」の5.25.25以下のすべてのバージョンには、入力の無害化と出力のエスケープが不十分なため、HTTP_USER_AGENT(実証済み)、より一般的には保存済みレポートが選択する、攻撃者が制御可能な任意のデータベース列を介した格納型クロスサイトスクリプティングの脆弱性があります。これにより、認証されていない攻撃者はページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
これには、攻撃者が制御できるデータベース列を選択するSQLレポートを管理者が保存している必要があります。そのような列の例はwp_comments.comment_agentで、WordPressはコメントが承認待ちでも、認証されていない訪問者からの値をそのまま保存します。
原文(英語)
EZ SQL Reports Shortcode Widget and DB Backup <= 5.25.25 - Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
The EZ SQL Reports Shortcode Widget and DB Backup plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_USER_AGENT (demonstrated); more generally, any attacker-controllable DB column the saved report selects' parameter in all versions up to, and including, 5.25.25 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires an administrator to have saved a SQL report that selects an attacker-controllable database column, such as wp_comments.comment_agent, which WordPress stores verbatim from unauthenticated visitors even when comments are pending moderation.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。