Google Sheets と Contact Form 7、WPForms、Elementor、Ninja Forms の統合(バージョン 1.1.6 以下) - CF7 フォーム送信時の Google Sheets API エラーレスポンスを介した認証不要の保存型クロスサイトスクリプティング
元情報の公開:2026-12-01 23:27:11 / 更新:2026-12-02 11:30:06(UTC)
日本語訳
WordPress 用の Integration for Google Sheets and Contact Form 7, WPForms, Elementor, Ninja Forms プラグインは、入力のサニタイズおよび出力のエスケープが不十分であるため、バージョン 1.1.6 を含むそれ以前のすべてのバージョンにおいて、'your-message(Google Sheets の列にマッピングされた任意の CF7 フィールドで、その型が USER_ENTERED 検証失敗を引き起こすもの)' パラメータを介した保存型クロスサイトスクリプティングの脆弱性があります。この脆弱性により、認証不要な攻撃者が任意のウェブスクリプトをページに注入でき、ユーザーがそのページを閲覧した際にスクリプトが実行されます。
悪用するには、対象の CF7 フォームに対して Google Sheets フィードが設定されており、送信されたフィールド値が Google Sheets API の USER_ENTERED 検証失敗を引き起こす必要があり、API がエラーメッセージ内で攻撃者が提供した値をそのまま返すことになります。
原文(英語)
Integration for Google Sheets and Contact Form 7, WPForms, Elementor, Ninja Forms <= 1.1.6 - Unauthenticated Stored Cross-Site Scripting via Google Sheets API Error Response via CF7 Form Submission
The Integration for Google Sheets and Contact Form 7, WPForms, Elementor, Ninja Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'your-message (any CF7 field mapped to a Google Sheets column whose type triggers USER_ENTERED validation failure)' parameter in all versions up to, and including, 1.1.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. Exploitation requires that a Google Sheets feed is configured for the targeted CF7 form and that the submitted field value triggers a Google Sheets API USER_ENTERED validation failure, causing the API to echo the attacker-supplied value back inside its error message.
引用元:Wordfence
確認と対応の進め方
WordPress管理画面の「プラグイン」→「インストール済みプラグイン」で、対象製品の名前とバージョンを確認してください。
影響バージョンに該当する場合は、バックアップを確認し、「ダッシュボード」→「更新」から対象製品を更新してください。更新後は、記事に記載した修正版になっていることと、サイトの表示・機能を確認してください。
更新が表示されない場合は、製品の提供元で更新情報と更新方法を確認してください。