WPBakery Page Builder 9.1以下 - custom_textショートコード属性を介した認証済みの寄稿者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 07:11 / 元情報の更新:2026/11/26 20:32(日本時間)
日本語訳
このWordPress用プラグインは、9.1以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、custom_textパラメータ([vc_cta]のショートコード属性)を介した保存型クロスサイトスクリプティングの脆弱性があります。寄稿者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。
custom_textをvc_get_css_color経由でインラインのstyle属性へ渡す脆弱なコード経路を通るには、style="classic"ショートコード属性を使う必要があります。攻撃者の値にはHTMLタグがなく、ショートコード属性内の二重引用符だけが含まれるため、保存時に適用されるwp_kses_postはペイロードを無害化せず、埋め込まれた内容はpost_contentにそのまま残ります。
原文(英語)
WPBakery Page Builder <= 9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'custom_text' Shortcode Attribute
The plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'custom_text (shortcode attribute of [vc_cta])' parameter in all versions up to, and including, 9.1 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. The style="classic" shortcode attribute must be used to trigger the vulnerable code path that feeds custom_text through vc_get_css_color into the inline style attribute; wp_kses_post applied at save time does not neutralize the payload because the attacker's value contains no HTML tags, only a double quote inside a shortcode attribute, leaving the injected content intact in post_content.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。