Optimole 4.2.19以下 - コメント本文を介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/20 06:36 / 元情報の更新:2026/11/20 20:34(日本時間)
日本語訳
WordPress用プラグイン「Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization」は、4.2.19以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、commentパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
悪用には、AMPプラグインがTransitionalまたはStandardテンプレートモードで有効になっており、対象投稿がコメントを受け付けている必要があります。コメントの受け付けはWordPressのデフォルトです。
原文(英語)
Optimole <= 4.2.19 - Unauthenticated Stored Cross-Site Scripting via Comment body
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.2.19 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. Exploitation requires the AMP plugin to be active in Transitional or Standard template mode, and comments must be open on the target post, which is the WordPress default.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。