Accept Stripe Payments 2.1.4以下 - コメントリンクのhref属性を介した認証不要の保存型DOMベースのクロスサイトスクリプティング
元情報の公開:2026/11/21 08:33 / 元情報の更新:2026/11/21 20:42(日本時間)
日本語訳
WordPress用プラグイン「Accept Stripe Payments」は、2.1.4以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、asp_action=show_pp&product_id=を含む任意のa要素のhrefパラメータを介した保存型DOMベースのクロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
悪用の成功には、ユーザーが攻撃者の設置したコメントリンクをクリックして、脆弱な処理箇所を実行させる必要があります。ただし、デフォルトでは有効でない「Prefetch Payment Popup Scripts」オプションが有効な場合は、ユーザー操作なしでページ読み込み時に実行されます。
原文(英語)
Accept Stripe Payments <= 2.1.4 - Unauthenticated Stored DOM-Based Cross-Site Scripting via Comment Link href Attribute
The Accept Stripe Payments plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'href of any <a> element containing 'asp_action=show_pp&product_id='' parameter in all versions up to, and including, 2.1.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. Successful exploitation requires that a user clicks the attacker-placed comment link to trigger the sink; however, if the non-default 'Prefetch Payment Popup Scripts' option is enabled, execution occurs on page load with no user interaction required.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。