AI Puffer 2.5.28以下 - AI生成のコメント返信を介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/18 00:12 / 元情報の更新:2026/11/18 12:32(日本時間)
日本語訳
WordPress用プラグイン「AI Puffer - MCP Server for Claude & ChatGPT, with AI Chatbot」は、2.5.28以下のすべてのバージョンで、AIが生成したコメント返信を介した保存型クロスサイトスクリプティングの脆弱性があります。insert_comment_reply_logic()関数がAIモデルの出力を十分にサニタイズせず、wp_insert_comment()で返信を保存することで、WordPressが通常コメント内容に適用するksesフィルターを回避することが原因です。
認証されていない攻撃者が、AIモデルに自動返信内でHTMLペイロードを再現させるコメントを送信し、任意のウェブスクリプトをページへ埋め込んで、そのページにユーザーがアクセスするたびに実行させられます。悪用できるのは、管理者がComment Auto-Reply自動化タスクのAction on replyをApproveに設定し(デフォルトはHold for moderation)、攻撃者のコメントが承認されている場合だけです。
原文(英語)
AI Puffer <= 2.5.28 - Unauthenticated Stored Cross-Site Scripting via AI-Generated Comment Replies
The AI Puffer - MCP Server for Claude & ChatGPT, with AI Chatbot plugin for WordPress is vulnerable to Stored Cross-Site Scripting via AI-generated comment replies in all versions up to, and including, 2.5.28 due to insufficient sanitization of the AI model's output in the insert_comment_reply_logic() function, which saves replies with wp_insert_comment() and bypasses the kses filtering WordPress normally applies to comment content. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, by submitting a comment that leads the AI model to reproduce an HTML payload in its automated reply. This is only exploitable when an administrator has configured a Comment Auto-Reply automation task with 'Action on reply' set to 'Approve' (the default is 'Hold for moderation'), and the attacker's comment has been approved.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。