SEOPress 10.3以下 - 'seopress_google_analytics_affiliate_tracking'および'seopress_google_analytics_download_tracking'パラメーターを介した認証済み(購読者以上)の格納型クロスサイトスクリプティング
元情報の公開:2026/11/07 03:32 / 元情報の更新:2026/11/07 15:39(日本時間)
日本語訳
WordPress用プラグイン「SEOPress – AI SEO Plugin & On-site SEO」の10.3以下のバージョンには、seopress_google_analytics_affiliate_trackingおよびseopress_google_analytics_download_tracking設定を介した格納型クロスサイトスクリプティングの脆弱性があります。原因は、これらの設定がseopress_google_analytics_js()によってインラインのGoogle Analytics追跡コードへ埋め込まれる際の、入力の無害化と出力のエスケープが不十分なことです。affiliateの値はまったく無害化されず(inc/admin/sanitize/Sanitize.phpから抜けています)、scriptブロック内へ入ります。一方、downloadの値はsanitize_text_field()を通るだけで、丸括弧、セミコロン、スラッシュが保持されるJavaScriptの正規表現リテラル内へ入ります。
これにより、購読者以上の権限を持つ認証済みの攻撃者は、管理者が「Settings > Advanced > Security」でSEOPressのanalytics権限を委任している場合(WordfenceがCVE-2026-101357について認めた前提条件)、ページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
原文(英語)
SEOPress <= 10.3 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' Parameters
The SEOPress – AI SEO Plugin & On-site SEO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'seopress_google_analytics_affiliate_tracking' and 'seopress_google_analytics_download_tracking' settings in versions up to, and including, 10.3. This is due to insufficient input sanitization and output escaping on these settings as they are interpolated into the inline Google Analytics tracking snippet by seopress_google_analytics_js(): the affiliate value receives no sanitization at all (it is omitted from inc/admin/sanitize/Sanitize.php) and lands inside a <script> block, while the download value is only passed through sanitize_text_field() and lands inside a JavaScript regular-expression literal that preserves parentheses, semicolons and slashes. This makes it possible for authenticated attackers, with Subscriber-level access and above (where an administrator has delegated the SEOPress 'analytics' capability under Settings > Advanced > Security — the precondition Wordfence accepted for CVE-2026-101357), to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。