All-in-One Video Gallery 5.2.0以前 — 動画メタボックスのembedcode欄を介した認証済み購読者以上による保存型クロスサイトスクリプティング
元情報の公開:2026/11/26 22:59 / 元情報の更新:2026/11/27 11:33(日本時間)
日本語訳
WordPressプラグイン「All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos」の5.2.0以前のすべてのバージョンには、入力のサニタイズと出力のエスケープが不十分なため、embedcodeパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。購読者以上の権限を持つ認証済みの攻撃者が任意のウェブスクリプトをページに埋め込み、ユーザーがそのページにアクセスするたびに実行させることができます。
プラグインは有効化時に、購読者ロールへedit_aiovg_videosとedit_published_aiovg_videosの権限を付与します。また、save_meta_data()はcurrent_user_can('unfiltered_html')を確認せずにembedcodeタイプを受け付けます。そのため、購読者なら誰でも、hls属性にdata: URIを含む悪意あるショートコードを保存できます。この内容は後でhls.jsによって処理され、PlyrがinnerHTMLを通じてDOMへ書き込みます。
原文(英語)
All-in-One Video Gallery <= 5.2.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via 'embedcode' Video Metabox Field
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 'embedcode' 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 plugin grants the Subscriber role the edit_aiovg_videos and edit_published_aiovg_videos capabilities on activation, and save_meta_data() accepts the 'embedcode' type without checking current_user_can('unfiltered_html'), meaning any Subscriber can store a malicious shortcode containing a data: URI in the hls attribute that hls.js later processes and Plyr writes into the DOM via innerHTML.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。