Drag and Drop Multiple File Upload for Contact Form 7 1.4.1以下 - titleタグで始まるHTMLペイロードのファイルアップロードを介した認証不要の保存型クロスサイトスクリプティング

元情報の公開:2026/11/26 08:37 / 元情報の更新:2026/11/26 20:42(日本時間)

日本語訳

WordPress用プラグイン「Drag and Drop Multiple File Upload for Contact Form 7」は、1.4.1以下のすべてのバージョンで、入力のサニタイズと出力のエスケープが不十分なため、upload-fileパラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。認証されていない攻撃者が任意のウェブスクリプトをページに埋め込み、そのページにユーザーがアクセスするたびにスクリプトを実行させることができます。

これには、対象の問い合わせフォームが.gpxなどのスクリプトではない拡張子(またはHTML/XML/PHPの拒否リストに含まれない任意の拡張子)を受け付ける設定であり、アップロードファイルがContent-Typeヘッダーなしで配信される必要があります。この場合、ブラウザーが内容からMIMEタイプを判定し、text/htmlとして実行します。

原文(英語)

Drag and Drop Multiple File Upload for Contact Form 7 <= 1.4.1 - Unauthenticated Stored Cross-Site Scripting via File Upload with <title>-Prefixed HTML Payload

The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'upload-file' parameter in all versions up to, and including, 1.4.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This requires that the targeted contact form be configured to accept a non-script extension such as .gpx (or any extension outside the HTML/XML/PHP blocklist), and the uploaded file is served without a Content-Type header, causing browsers to MIME-sniff and execute it as text/html.

引用元:Wordfence

確認と対応の進め方

WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。

影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。

更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。

プラグインの管理・更新方法(WordPress公式・日本語)

運営元KanriPressのサービス案内

サイトを守る備えを、今日から始めませんか。

「KanriPress WP Sakimori」は、ファイアウォールと仮想パッチで攻撃に備え、マルウェア検査と継続監視でサイトの異変を捉えます。毎日のバックアップで万一に備え、月次レポートで保護・監視の状況も確認。日々の管理負担を抑えながらWordPressを守る仕組みを、月額2,200円(税込)で導入できます。

サービス内容・料金を見る