Swift Performance Lite 2.3.7.5以下 - force-cacheパラメータを使ったURLパスを介する認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 11:42 / 元情報の更新:2026/11/27 00:47(日本時間)
日本語訳
WordPress用プラグイン「Swift Performance Lite」は、2.3.7.5以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、REQUEST_URI($_GET['force-cache']によって処理が有効になる)パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
認証されていない状態で、?force-cache=1を付け、パスにURLエンコードしたHTMLペイロードを含めた任意のURLへGETリクエストを1回送るだけで、ペイロードを埋め込めます。プラグインはその値をデコードし、実際の文字列をファイルシステムのディレクトリ名として作成します。次に管理者がSwift Performanceのダッシュボードを開くと、スクリプトが実行されます。
原文(英語)
Swift Performance Lite <= 2.3.7.5 - Unauthenticated Stored Cross-Site Scripting via URL Path via 'force-cache' Parameter
The Swift Performance Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI (gated by $_GET['force-cache'])' parameter in all versions up to, and including, 2.3.7.5 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. The payload is planted via a single unauthenticated GET request to any URL with ?force-cache=1 and a URL-encoded HTML payload in the path, which the plugin decodes and creates as a literal filesystem directory name; the script fires the next time an administrator opens the Swift Performance dashboard.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。