Read the docs

Stored cross-site scripting in WPForms payment forms

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

The smub WPForms plugin for WordPress, also distributed as wpforms-lite, is affected up to and including 2.0.4. Insufficient input sanitization and output escaping of the Multiple Choice 'Other' option value on payment forms lets an unauthenticated attacker store arbitrary web scripts (CWE-79). The script runs when an administrator opens the injected entry on the WPForms Payments details page.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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="&lt;img src=x onerror=...&gt;">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.

Why it matters now

EPSS 0.00424 28th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
smubWPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & Moreup to 2.0.4—No fix listedCNA
  • WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More Vendorsmub Affected up to 2.0.4 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for WPForms.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-126342
  2. 2026-11-27 Alias added: GHSA-h7pq-qrx8-8pf9

References

  • TI-2025-12465 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 3.59.12 - Authenticated… CVSS 3.1HIGH 8.8
  • TI-2026-83530 Remote code execution in NextGEN Gallery plugin for WordPress CVSS 3.1HIGH 8.8
  • TI-2026-78567 PHP object injection in Duplicator and Duplicator Pro plugins CVSS 3.1HIGH 8.8
  • TI-2026-07755 WPCode <= 2.3.5 - Authenticated (Author+) Remote Code Execution via CPT Capability Bypass via XML-RPC wp.newPost CVSS 3.1HIGH 8.8
  • TI-2026-01649 ExactMetrics 8.6.0 - 9.0.2 - Authenticated (Custom) Insecure Direct Object Reference to Arbitrary Plugin Installation CVSS 3.1HIGH 8.8
  • TI-2026-01160 Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery <= 4.0.4 - Authenticated (Author+) Local File Inclusion CVSS 3.1HIGH 8.8
See all 77 →

Sources