Yoast SEO 28.0以下 - 投稿スラッグ(post_name)を介した認証済み(投稿者以上)の格納型クロスサイトスクリプティング
元情報の公開:2026/07/25 02:58 / 元情報の更新:2026/11/14 01:46(日本時間)
日本語訳
WordPress用プラグイン「Yoast SEO – Advanced SEO with real-time guidance and built-in AI」の28.0以下のすべてのバージョンには、入力の無害化と出力のエスケープが不十分なため、投稿スラッグ(post_name)を介した格納型クロスサイトスクリプティングの脆弱性があります。これにより、投稿者以上の権限を持つ認証済みの攻撃者はページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
これには整形されたパーマリンクが有効になっている必要があります。一連の悪用は、get_permalink()が保存されたパーセントエンコード済みのpost_nameを生成URLに埋め込むことに依存しているためです。
原文(英語)
Yoast SEO <= 28.0 - Authenticated (Author+) Stored Cross-Site Scripting via Post Slug (post_name)
The Yoast SEO – Advanced SEO with real-time guidance and built-in AI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Post Slug (post_name) in all versions up to, and including, 28.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires pretty permalinks to be enabled, as the exploit chain depends on get_permalink() embedding the stored percent-encoded post_name in the generated URL.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。