Recipe Card Blocks Lite 3.7.0以下 - 'steps'ブロック属性を介した認証済み(寄稿者以上)の格納型クロスサイトスクリプティング
元情報の公開:2026/11/13 05:54 / 元情報の更新:2026/11/13 18:35(日本時間)
日本語訳
WordPress用プラグイン「Recipe Card Blocks Lite」の3.7.0以下のすべてのバージョンには、入力の無害化と出力のエスケープが不十分なため、steps[].textパラメーターを介した格納型クロスサイトスクリプティングの脆弱性があります。これにより、寄稿者以上の権限を持つ認証済みの攻撃者はページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
wp_kses_post()は保存時にブロックの区切りとなるHTMLコメントをそのまま保持するため、寄稿者はunfiltered_html権限がなくても、下書きや承認待ち投稿のブロックのsteps[].text属性内にイベントハンドラーのペイロードを埋め込めます。ペイロードは、その投稿をプレビューまたは公開する権限のある編集者や管理者を含む、すべての訪問者に対して実行されるほか、公開の印刷エンドポイントを通じても実行されます。
原文(英語)
Recipe Card Blocks Lite <= 3.7.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'steps' Block Attribute
The Recipe Card Blocks Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'steps[].text' parameter in all versions up to, and including, 3.7.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Because wp_kses_post() preserves block-delimiter HTML comments verbatim on save, a Contributor can embed event-handler payloads inside the block's steps[].text attribute in a draft or pending post without the unfiltered_html capability, and the payload executes for any visitor — including privileged editors and administrators who preview or publish the post — as well as through the public print endpoint.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。