WPForms 支払いフォームに未認証でスクリプトを仕込まれる脆弱性
Summary
WPForms 2.0.4以前では、未認証の攻撃者が支払いフォームの複数選択「その他」欄に不正なスクリプトを埋め込めます。管理者がWPFormsの支払い画面で該当の登録を開くと、そのスクリプトが実行される可能性があります。CVSSは7.2です。修正版の情報は確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
WPForms 2.0.4以前では、未認証の攻撃者が支払いフォームの複数選択「その他」欄に不正なスクリプトを埋め込めます。管理者がWPFormsの支払い画面で該当の登録を開くと、そのスクリプトが実行される可能性があります。CVSSは7.2です。修正版の情報は確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| smubWPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More |
≤ 2.0.4→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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 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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web security@wordfence.com
- web nvd.nist.gov
- web github.com