Advanced Country Blocker 2.3.2以下 - REQUEST_URIサーバー変数を介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/18 09:51 / 元情報の更新:2026/11/18 22:32(日本時間)
日本語訳
WordPress用プラグイン「Advanced Country Blocker」は、2.3.2以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、REQUEST_URIパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
挿入されたスクリプトはinitフックでadvcb_live_activity Transientを通じて保存され、管理者がLive Monitorページを表示すると実行されます。保存されたURIが二重引用符で囲まれたHTMLのtitle属性へ安全でない方法で連結され、jQuery .html()でDOMへ挿入されるためです。
原文(英語)
Advanced Country Blocker <= 2.3.2 - Unauthenticated Stored Cross-Site Scripting via 'REQUEST_URI' Server Variable
The Advanced Country Blocker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI' parameter in all versions up to, and including, 2.3.2 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 injected script is stored via the advcb_live_activity transient on the init hook and executed when an administrator views the Live Monitor page, as the stored URI is unsafely concatenated into a double-quoted HTML title attribute and inserted into the DOM via jQuery .html().
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
修正版が未確認の製品は、まず提供元の最新情報を確認してください。記事の取得時点より後に修正版が公開されている場合があります。
プラグインの代替を探す場合は、必要な機能と既存データの移行方法を確認してください。削除前にバックアップを確保し、代替製品の動作を検証してください。