Coupon Creator 3.6.5以下 - cctor_expiration投稿メタデータを介した認証済みの寄稿者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/21 02:29 / 元情報の更新:2026/11/21 14:35(日本時間)
日本語訳
WordPress用プラグイン「Coupon Creator」は、3.6.5以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、metavalue(metakeyinput=cctor_expirationを指定)パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。寄稿者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
cctor_coupon投稿タイプがcustom-fieldsのサポートを宣言しているため、寄稿者にWordPressコアのカスタムフィールドメタボックスが提供されます。また、cctor_expirationメタキーが未登録であるためsanitize_meta()が何も処理せず、1回のAJAXリクエストで加工されていないHTMLをデータベースへそのまま保存できることから、悪用が可能です。
原文(英語)
Coupon Creator <= 3.6.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'cctor_expiration' Post Meta
The Coupon Creator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (with metakeyinput=cctor_expiration)' parameter in all versions up to, and including, 3.6.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit is possible because the cctor_coupon post type advertises 'custom-fields' support, enabling WordPress core's Custom Fields metabox for Contributors, and the unregistered cctor_expiration meta key causes sanitize_meta() to be a no-op, allowing raw HTML to be stored verbatim in the database via a single AJAX request.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。