RSS Aggregator by Feedzy 5.2.17以下 - commentパラメータを介した認証不要の保存型クロスサイトスクリプティング

元情報の公開:2026/11/26 11:20 / 元情報の更新:2026/11/26 23:36(日本時間)

日本語訳

WordPress用プラグイン「RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator」は、5.2.17以下のバージョンで、wp_kses_allowed_htmlフィルターのコールバックの制限が不十分なため、commentパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。

feedzy_wp_kses_allowed_html()は、ローダーのデフォルトであるaccepted_args=1でwp_kses_allowed_htmlに登録されています。そのため、コールバックは処理の文脈名を示す引数を受け取らず、すべての文脈で許可タグ配列にiframeを無条件に追加します。任意のsrc、width、height、frameborder、allowfullscreen、data-*属性も許可されます。対象には、unfiltered_html権限のないユーザーが送信したコメント本文のサニタイズにWordPressが使うpre_comment_contentも含まれます。

認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。

原文(英語)

RSS Aggregator by Feedzy <= 5.2.17 - Unauthenticated Stored Cross-Site Scripting via 'comment' Parameter

The RSS Aggregator by Feedzy – Feed to Post, Autoblogging, News & YouTube Video Feeds Aggregator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in versions up to, and including, 5.2.17 due to insufficient restriction on the wp_kses_allowed_html filter callback. The feedzy_wp_kses_allowed_html() method is registered on wp_kses_allowed_html with the loader's default accepted_args=1, so the callback never receives the context-name argument and unconditionally adds <iframe> (with arbitrary src, width, height, frameborder, allowfullscreen and data-* attributes) to the allowed-tag array for every context — including pre_comment_content, which WordPress uses to sanitize comment bodies submitted by users without the unfiltered_html capability. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る