Download Manager 7.6.3以下 - 'file[additional_previews][]'パラメーターを介した認証済み(投稿者以上)の格納型クロスサイトスクリプティング
元情報の公開:2026/11/13 05:48 / 元情報の更新:2026/11/13 18:35(日本時間)
日本語訳
WordPress用プラグイン「Download Manager」の7.6.3以下のすべてのバージョンには、入力の無害化と出力のエスケープが不十分なため、file[additional_previews][]パラメーターを介した格納型クロスサイトスクリプティングの脆弱性があります。これにより、投稿者以上の権限を持つ認証済みの攻撃者はページに任意のWebスクリプトを挿入でき、利用者がそのページにアクセスするたびにスクリプトが実行されます。
wpdm_sanitize_array()関数はwp_ksesを通じてHTMLタグを除去しますが、単独のシングルクォートはそのまま残し、stripslashes_deep()を呼び出してWordPressのマジッククォートによる保護を無効にします。その結果、シングルクォートで属性の範囲から抜け出すペイロードをそのまま保存でき、後にエスケープせず描画されます。
原文(英語)
Download Manager <= 7.6.3 - Authenticated (Author+) Stored Cross-Site Scripting via 'file[additional_previews][]' Parameter
The Download Manager plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'file[additional_previews][]' parameter in all versions up to, and including, 7.6.3 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. The wpdm_sanitize_array() function strips HTML tags via wp_kses but leaves bare single quotes intact and calls stripslashes_deep() which defeats WordPress magic quotes protection, allowing a single-quote-based attribute breakout payload to be stored verbatim and later rendered without escaping.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。