WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More に脆弱性 — CVE-2026-126342
いま何をすべきか
WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More を 2.0.5.1 以降に更新してください。
影響を受けるバージョン
- 2.0.4 以下のすべて
対象: プラグイン「WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More」(wpforms-lite)
何が起きるのか
The WPForms (Contact Form by WPForms / wpforms-lite) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Multiple Choice field's 'Other' option value on payment forms in all versions up to, and including, 2.0.4 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 privileged user such as an administrator accesses the injected payment entry on the WPForms > Payments details page. The submitted value is stored via sanitize_text_field(), which preserves a space-separated pseudo-tag (e.g. '< i class="wpforms-single-payment-tooltip" data-tooltip-content="<img src=x onerror=...>">x< /i>') because strip_tags() ignores a '<' followed by whitespace; on the admin Payments entry page the value is output through wp_kses() with the 'post' allowlist, which normalizes it into a live <i> element retaining its class and data-* attributes, and the bundled Tooltipster initialization (contentAsHTML + contentCloning) then renders the attribute's HTML, executing the script on page load without any hover.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/includes/fields/class-radio.php#L771
- https://plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/includes/fields/class-radio.php#L845
- https://plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/includes/fields/class-radio.php#L896
- https://plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/src/Admin/Payments/Views/Single.php#L1019
- https://plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/templates/admin/payments/single/field.php#L23
- https://plugins.trac.wordpress.org/changeset/3811507/wpforms-lite/trunk/includes/fields/class-radio.php