CVE-2026-131806: CubeWP Forms <= 1.1.13 - Unauthenticated Stored Cross-Site Scripting via 'form_data_id' Parameter
The CubeWP Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'cwpcustomform[formdataid]' parameter in all versions up to, and including, 1.1.13 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 user accesses an injected page. The nonce required by the submission handler is publicly emitted in the inline script data of any page rendering the cwpCustomForm shortcode, making it trivially obtainable by unauthenticated visitors and rendering the nonce check ineffective as an authentication barrier.
Affected Software
Event History
Frequently Asked Questions
Which sites are exposed to unauthenticated exploitation?
Sites using CubeWP Forms version 1.1.13 or earlier are exposed when they render a page containing the cwpCustomForm shortcode. Any unauthenticated visitor can obtain the submission nonce from that page's inline script data.
What does an attacker need to exploit this issue?
The attacker does not need an account or user interaction to submit the malicious form_data_id value. They need access to a page that renders the cwpCustomForm shortcode so they can retrieve the publicly exposed nonce.
When does the injected script execute?
The injected script is stored and executes whenever a user accesses the page where the attacker-injected content is rendered. This can affect users who visit the injected page after the attacker submits the payload.
What version range should be treated as affected?
All CubeWP Forms versions up to and including 1.1.13 are affected according to the available information.