All-in-One Video Gallery 5.2.0以前 — contentショートコード属性を介した認証済み購読者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 22:58 / 元情報の更新:2026/11/27 11:33(日本時間)
日本語訳
WordPressプラグイン「All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos」の5.2.0以前のすべてのバージョンには、入力のサニタイズと出力のエスケープが不十分なため、contentパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。購読者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、ユーザーがそのページにアクセスするたびに実行させることができます。
攻撃用の内容は、保存時にC形式のエスケープシーケンス(例:\x3c/\x3e)として符号化する必要があります。unfiltered_html権限のないユーザーの保存時にはwp_kses_postが適用されますが、この符号化によって山括弧を取り除かれずに通過できます。その後、WordPress本体のshortcode_parse_atts()が、表示時にエスケープシーケンスを実際のHTML文字へ戻します。
原文(英語)
All-in-One Video Gallery <= 5.2.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'content' Shortcode Attribute
The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'content' parameter in all versions up to, and including, 5.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The payload must be encoded as C-style escape sequences (e.g. \x3c/\x3e) at storage time so that wp_kses_post — applied on save for users lacking unfiltered_html — passes it through without stripping angle brackets; WordPress core's shortcode_parse_atts() then decodes the escapes into real HTML characters at render time.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。