Database for Contact Form 7, WPforms, Elementor forms 1.5.6 以下 - Elementor Pro フォーム送信時の 'post_id' パラメータによる認証不要の保存型クロスサイトスクリプティング

元情報の公開:2026/11/28 16:13 / 元情報の更新:2026/11/29 04:37(日本時間)

日本語訳

WordPress 用プラグイン「Database for Contact Form 7, WPforms, Elementor forms」は、入力のサニタイズと出力のエスケープが不十分なため、バージョン 1.5.6 以下のすべてのバージョンで 'post_id' パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。この脆弱性により、認証されていない攻撃者が任意のウェブスクリプトをページに注入でき、ユーザーがそのページを閲覧した際にスクリプトが実行されます。

悪意のあるペイロードは認証不要の Elementor Pro フォーム送信エンドポイントを通じて保存され、管理者には「Entries by Same User」ボックスで表示されます。このボックスは攻撃者が制御する vx_user クッキーの値でエントリを関連付け、フォームの制限がないため、通常のクリーンなエントリからペイロードを含むエントリへと辿ることができます。

脆弱性を実際に悪用するには、管理者の操作が別途必要であり、攻撃者だけで脆弱性を発動させることはできません。

原文(英語)

Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Stored Cross-Site Scripting via 'post_id' Parameter via Elementor Pro Form Submission

The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'post_id' parameter in all versions up to, and including, 1.5.6 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. The malicious payload is stored via the unauthenticated Elementor Pro form submission endpoint and is surfaced to administrators through the 'Entries by Same User' box, which correlates entries by the attacker-controlled vx_user cookie value with no form restriction, allowing a payload-carrying entry to be reached from an ordinary clean entry. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.

引用元:Wordfence

確認と対応の進め方

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

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

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

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

運営元KanriPressのサービス案内

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

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

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