CVE-2026-126342 — smub WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
Summary
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. ' x ') because strip_tags() ignores a ' 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.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| smub WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More | ≤ 2.0.4 | — |
References by type
Other references
- plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/includes/f…
- plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/src/Admin/…
- plugins.trac.wordpress.org/browser/wpforms-lite/tags/2.0.2.2/templates/…
- plugins.trac.wordpress.org/changeset/3811507/wpforms-lite/trunk/include…
- wordfence.com/threat-intel/vulnerabilities/id/778cae4c-f864-4f84-9f6a-3…
Affected
- smub WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-126342?
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. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-126342?
CVE-2026-126342 has a CVSS 3.1 base score of 7.2 (high), from the CNA (wordfence.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-126342 being exploited?
Not as far as is known: CVE-2026-126342 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.
Which versions are affected by CVE-2026-126342?
smub WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More ≤ 2.0.4.
How do I fix CVE-2026-126342?
Follow the advisories and patches linked on this page under References for fixed versions and workarounds.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-135641 — wpjobportal WP Job Portal – AI-Powered Recruitment System for Company or Job Board website
- Everest Forms Vulnerable to Stored XSS via WYSIWYG Field
- Secure MCP Server Plugin Vulnerable to Authorization Bypass
- WordPress Plugin Vulnerable to Stored XSS via Description Field
- AI Engine – MCP Server & AI Chatbot for WordPress Vulnerable to Limited Arbitrary File Upload