Flexible PDF Invoices for WooCommerce & WordPress 7.1.2以下 - 請求先フィールドを介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/18 07:37 / 元情報の更新:2026/11/18 20:30(日本時間)
日本語訳
WordPress用プラグイン「Flexible PDF Invoices for WooCommerce & WordPress」は、7.1.2以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、billing_address.first_name / extensions.wpdesk-flexible-invoices-checkout._billing_vat_numberパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
実行には、管理者が攻撃者の注文の請求書編集ページを開き、顧客メタボックス内のフィールドを操作する必要があります。例えば入力したり、change/keyupイベントを発生させたりする操作です。その時点で、first_nameや_billing_vat_numberなどの請求先フィールドへ保存されたペイロードが、エンティティエスケープされた入力値からデコードされ、サニタイズされずにjQuery .html()へ渡されます。悪用の成功にはさらに管理者による操作が必要であり、攻撃者だけでこの脆弱性を発動させることはできません。
原文(英語)
Flexible PDF Invoices for WooCommerce & WordPress <= 7.1.2 - Unauthenticated Stored Cross-Site Scripting via Billing Field
The Flexible PDF Invoices for WooCommerce & WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'billing_address.first_name / extensions.wpdesk-flexible-invoices-checkout._billing_vat_number' parameter in all versions up to, and including, 7.1.2 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. Execution requires an administrator to open the invoice edit page for the attacker's order and interact with (e.g., type into or trigger a change/keyup event on) a field in the customer metabox, at which point the payload stored in billing fields such as first_name or _billing_vat_number is decoded from its entity-escaped input value and passed unsanitized to jQuery .html(). Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。