WP Delicious 1.10.10以下 - recipeTitleブロック属性を介した認証済みの寄稿者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/18 06:14 / 元情報の更新:2026/11/18 18:29(日本時間)
日本語訳
WordPress用プラグイン「WP Delicious – Recipe Plugin for Food Bloggers (formerly Delicious Recipes)」は、1.10.10以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、recipeTitleパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。寄稿者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
WordPressコアのブロック属性用kses処理はHTMLタグを取り除きますが、単独の二重引用符は保持します。そのため、x" onerror="alert(1)のようなペイロードが保存処理と描画時のstrip_tags()呼び出しの両方を通過し、描画されたimg要素のalt属性の境界を突破できます。
原文(英語)
WP Delicious <= 1.10.10 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'recipeTitle' Block Attribute
The WP Delicious – Recipe Plugin for Food Bloggers (formerly Delicious Recipes) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'recipeTitle' parameter in all versions up to, and including, 1.10.10 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. WordPress core's block-attribute kses pass strips HTML tags but preserves bare double-quote characters, allowing a payload such as x" onerror="alert(1) to survive both the save pipeline and the render-time strip_tags() call, breaking out of the alt attribute of the rendered img element.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。