Flying Images: Optimize and Lazy Load Images for Faster Page Speed 2.4.15以下 - コメント内容を介した認証不要の格納型クロスサイトスクリプティング
元情報の公開:2026/11/06 23:16 / 元情報の更新:2026/11/07 11:29(日本時間)
日本語訳
WordPress用プラグイン「Flying Images: Optimize and Lazy Load Images for Faster Page Speed」の2.4.15以下のすべてのバージョンには、入力の無害化と出力のエスケープが不十分なため、commentパラメーターを介した格納型クロスサイトスクリプティングの脆弱性があります。これにより、認証されていない攻撃者はページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
初めてコメントする利用者の送信内容には、既定のcomment_previously_approved設定の下で管理者による1回の承認が必要です。ただし、いったん承認されると、同じ名前とメールアドレスの組み合わせからの後続のコメントはすべて承認待ちを経ずに公開され、挿入されたスクリプトは、フロントエンドで投稿を閲覧する管理者を含むすべての訪問者に対して実行されます。
原文(英語)
Flying Images: Optimize and Lazy Load Images for Faster Page Speed <= 2.4.15 - Unauthenticated Stored Cross-Site Scripting via Comment Content
The Flying Images: Optimize and Lazy Load Images for Faster Page Speed plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 2.4.15 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. A first-time commenter's submission requires a single administrator approval under the default comment_previously_approved setting; however, once approved, all subsequent comments from the same name and email pair bypass moderation, and the injected script executes for every visitor — including administrators viewing the post from the front end.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。