Advanced Product Fields (Product Addons) for WooCommerce 1.7.4以下 - 商品アドオンのフィールド値を介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 08:06 / 元情報の更新:2026/11/26 20:32(日本時間)
日本語訳
WordPress用プラグイン「Advanced Product Fields (Product Addons) for WooCommerce」は、1.7.4以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、wapf[field_〈id〉]パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
ペイロードは先頭に空白を付けたタグを利用してサニタイズを通過し、描画時にwp_kses_post()とforce_balance_tags()によって実際のHTML要素へ正規化されます。その後、WordPressコアのtags-box.jsが注文画面上の偽造された#tagsdiv-post_tag要素を処理すると、ペイロードが実行されます。
原文(英語)
Advanced Product Fields (Product Addons) for WooCommerce <= 1.7.4 - Unauthenticated Stored Cross-Site Scripting via Product Add-on Field Value
The Advanced Product Fields (Product Addons) for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wapf[field_<id>]' parameter in all versions up to, and including, 1.7.4 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. The payload survives sanitization via a whitespace-prefixed tag gadget, is normalized into real HTML elements by wp_kses_post() and force_balance_tags() at render time, and is then executed by WordPress core's tags-box.js when it encounters the forged #tagsdiv-post_tag element on the order screen.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。