Postie 1.9.91以下 - メール本文のHTML属性のエンティティ変換を介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 11:12 / 元情報の更新:2026/11/26 23:36(日本時間)
日本語訳
WordPress用プラグイン「Postie」は、1.9.91以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、メールのHTML本文パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
悪用できるのは、処理リクエストがunfiltered_html権限を持つユーザーとして実行される場合です。「Force User Login」が有効でPostieがデフォルトの投稿ユーザーへ切り替わる場合、または管理者が手動で取得処理を実行する場合が該当します。その結果、content_save_preからwp_filter_post_ksesが取り除かれ、属性の範囲を抜け出すマークアップがwp_insert_post()によってそのまま保存されます。
原文(英語)
Postie <= 1.9.91 - Unauthenticated Stored Cross-Site Scripting via Email Body HTML Attribute Entity Decoding
The Postie plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'email HTML body' parameter in all versions up to, and including, 1.9.91 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. This is exploitable when the processing request runs under a user holding the unfiltered_html capability — either because 'Force User Login' is enabled and Postie switches to the default poster, or because an administrator manually triggers the fetch — causing wp_filter_post_kses to be stripped from content_save_pre and the attribute-breakout markup to be stored verbatim by wp_insert_post().
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。