CubeWP Forms: arbitrary JavaScript execution
CriticalAI-generated2026-11-25
- CVE
- CVE-2026-136522
- Severity
- Critical (CVSS 9.6)
- Attack conditions
- Remotely, over the network · No account needed · A user must take some action
- Exploitation probability (EPSS)
- 0.5% (within 30 days; FIRST EPSS, 30 November 2026)
Summary
CubeWP Forms versions prior to 1.1.13 are vulnerable to a stored cross-site scripting flaw. An attacker can inject malicious JavaScript that runs in an administrator's browser, potentially taking over the site.
Details
According to the NVD record, CubeWP Forms before version 1.1.13 has an unauthenticated stored cross-site scripting vulnerability. The flaw is triggered by submitting unregistered field names through the public REST endpoint cubewp-custom-form/v1/submit/, which bypasses the nonce check and stores the data without proper sanitisation. The malicious values are later displayed unescaped on the admin Leads detail page.
An attacker can craft a single GET request that includes a script payload in a custom form field. When an administrator views the lead in wp-admin, the script runs in their session, allowing the attacker to execute arbitrary JavaScript. This can lead to full site takeover, such as creating a new administrator account.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 24 November 2026 NVD record published
- 25 November 2026 This article was written