CubeWP Forms: flaw lets attackers inject scripts into its pages (cross-site scripting)
CVE-2026-136522 · published 25 Nov 2026
CVE-2026-136522 is a critical security flaw in CubeWP Forms, rated 9.6 out of 10.
The official description: CubeWP Forms before 1.1.13 contains an unauthenticated stored cross-site scripting vulnerability that allows attackers to inject malicious JavaScript by submitting unregistered field names through the public REST route cubewp-custom-form/v1/submit/, which bypasses its own nonce check and saves unsanitized values due to a missing default case in the sanitizer, later rendered unescaped on the admin Leads detail page. Attackers can send a single crafted GET request containing a script payload in a custom form field to execute arbitrary JavaScript in an administrator's wp-admin session when the lead is viewed, enabling full site takeover such as creating a new administrator account.
We have no report of attacks yet. Plan the update now, before attackers start.
How to check if you are affected, and how to fix it
The full analysis (affected versions, step-by-step check, fix, what to do if you cannot update yet, and signs of an attack) is free in your SegfaultSec dashboard. You also get an alert when a new vulnerability matches the software on your website.
Read the full analysis