WPMR Google Feed Manager for WooCommerce 2.24.2以下 - フィードタイトルを介した認証済みのカスタムロール以上による保存型DOMベースのクロスサイトスクリプティング
元情報の公開:2026/11/26 07:05 / 元情報の更新:2026/11/26 20:32(日本時間)
日本語訳
WordPress用プラグイン「WPMR Google Feed Manager for WooCommerce – Sell on Google Merchant Center & Shopping」は、2.24.2以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、feedパラメータ(JSON形式に変換されたfeed配列内のtitleフィールド)を介した保存型DOMベースのクロスサイトスクリプティングの脆弱性があります。カスタムロール以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
保存時にはsanitize_text_field()が適用されますが、除去するのは山括弧と改行だけで、一重引用符と丸括弧はそのまま残ります。これらは、wppfm_feedListTable()が組み立て、jQueryの.append()で設置するonclickのJavaScript文字列の範囲から抜け出すために必要な文字そのものです。
原文(英語)
WPMR Google Feed Manager for WooCommerce <= 2.24.2 - Authenticated (Custom+) Stored DOM-Based Cross-Site Scripting via Feed Title
The WPMR Google Feed Manager for WooCommerce – Sell on Google Merchant Center & Shopping plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'feed (title field inside the JSON-encoded feed array)' parameter in all versions up to, and including, 2.24.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with custom-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. sanitize_text_field() is applied on storage but strips only angle brackets and newlines, leaving single quotes and parentheses intact — the exact characters needed to break out of the onclick JavaScript string context constructed by wppfm_feedListTable() and installed via jQuery .append().
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。