CVE-2026-126342
7.2HighPublished Nov 26, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Limited impact
- Weakness
- CWE-79
What an attacker gets
Unauthenticated attackers can execute arbitrary JavaScript in the WordPress admin dashboard. This happens when an administrator views a malicious payment entry submitted via a form.
Root cause
Insufficient input sanitization and output escaping allow malicious HTML to be stored in the 'Other' field option and rendered as executable code by the Tooltipster library.
Affected versions
WPForms versions up to and including 2.0.4
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Fix & remediation
Update to version 2.0.5 or later. If you cannot update immediately, disable the 'Other' option in all Multiple Choice fields on payment forms.
$ wp plugin update wpforms-liteAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- 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
- https://www.wordfence.com/threat-intel/vulnerabilities/id/778cae4c-f864-4f84-9f6a-3ebe0dadec36?source=cve
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-805017.8HighA local attacker with low privileges can cause a denial of service on the system. This requires local access to the virtual appliance.
- CVE-2026-1379387.0HighLocal attackers can escalate privileges to root by exploiting a race condition during the update installation process. This requires the attacker to have local access to the machine and the ability to manipulate symlinks during the installer's execution.
- CVE-2026-1379077.8HighAttackers can execute arbitrary code or crash applications by providing crafted high-bit-depth media files. This requires a user to process a malicious PFM or OpenEXR image through the boxblur filter.
- CVE-2026-1377467.5HighRemote attackers can cause a denial of service by exhausting system resources in the SMF component. No authentication is required to trigger this crash.
- CVE-2026-1359507.1HighRemote attackers can execute arbitrary JavaScript in a user's browser session. This requires a user with administrative privileges to interact with the malicious input.
- CVE-2026-1359487.1HighRemote attackers can execute arbitrary scripts in a user's browser via stored XSS. This requires a user with administrative privileges to view the malicious payload injected into the plugin settings.