SchemaEngine AI 3.1.3以下 - post_contentおよびpost_excerptパラメータを介した認証済みの寄稿者以上による保存型クロスサイトスクリプティング

元情報の公開:2026/11/18 06:34 / 元情報の更新:2026/11/18 20:30(日本時間)

日本語訳

WordPress用プラグイン「SchemaEngine AI – AI Schema Markup, Reviews & Rich Snippets for SEO」は、3.1.3以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、content/excerpt(RESTのwp/v2/postsからpost_content/post_excerptへ保存される値)パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。寄稿者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。

寄稿者のエンティティエンコード済みペイロードは保存時のwp_ksesフィルターをそのまま通過し、描画時にだけhtml_entity_decode()で未加工のscriptタグへデコードされます。そのため、編集者が標準的な寄稿者の作業手順に沿って投稿を公開すると、ログイン済みの管理者を含むすべての訪問者に対して、挿入されたスクリプトが実行されます。

原文(英語)

SchemaEngine AI <= 3.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'post_content' and 'post_excerpt' Parameters

The SchemaEngine AI – AI Schema Markup, Reviews & Rich Snippets for SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content/excerpt (REST wp/v2/posts) → stored in post_content/post_excerpt' parameter in all versions up to, and including, 3.1.3 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. A Contributor's entity-encoded payload survives save-time wp_kses filtering verbatim and is only decoded into raw script tags at render time via html_entity_decode(), meaning the injected script executes for every visitor — including authenticated Administrators — once an Editor publishes the post through the standard Contributor workflow.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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