Admin Columns 7.1.7以下 - comment_agentのUser-Agentヘッダーを介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/21 03:49 / 元情報の更新:2026/11/21 16:45(日本時間)
日本語訳
WordPress用プラグイン「Admin Columns」は、7.1.7以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、HTTP_USER_AGENTパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
classes/Sanitize/Kses.php内のksesサニタイズ処理は、wp_kses_allowed_html('post')にiframe[src]とdata:プロトコルを追加して使用します。wp_kses_attr_checkは、許可されたタグに付いた任意のdata-*属性をその値を検査せずに受け入れるため、data-ac-tip属性内に埋め込まれたペイロードはそのまま残り、その後assets/js/table.jsがinnerHTMLへ代入します。これにより、一見対策に見える処理を完全に回避できます。
原文(英語)
Admin Columns <= 7.1.7 - Unauthenticated Stored Cross-Site Scripting via 'User-Agent' Header via comment_agent
The Admin Columns plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'HTTP_USER_AGENT' parameter in all versions up to, and including, 7.1.7 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 kses sanitization pass in classes/Sanitize/Kses.php uses wp_kses_allowed_html('post') augmented with iframe[src] and the data: protocol; because wp_kses_attr_check accepts any data-* attribute on any allowed tag without inspecting its value, a payload embedded inside a data-ac-tip attribute survives intact and is subsequently assigned to innerHTML by assets/js/table.js, bypassing the apparent mitigation entirely.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。