On this page (7 sections)

A high-severity vulnerability, tracked as CVE-2026-136522, affects the CubeWP Forms WordPress plugin in versions before 1.1.13. According to the GitHub Advisory Database entry, an unauthenticated visitor can store malicious JavaScript through a public REST route, and that script runs in an administrator's wp-admin session when the saved lead is viewed.

If your site uses CubeWP Forms to collect leads, treat this as an update-now item. The advisory says the outcome can be full site takeover, for example creating a new administrator account.

What happened

The advisory was published on November 24, 2026 by the National Vulnerability Database and mirrored in the GitHub Advisory Database, where it is marked as unreviewed. The same description appears in the NVD record, but that entry repeats the GitHub text and is not independent confirmation. A third reference points to a VulnCheck advisory. At the time of writing, no other publisher has independently analyzed the issue, so details beyond the advisory text are unconfirmed.

Technical details in plain terms

Stored cross-site scripting means an attacker gets a script saved on your site, and that script later runs in the browser of someone who views the stored data. Here, the stored data is a form submission (a lead) and the victim is a logged-in administrator.

The advisory describes three problems that combine:

  • The plugin exposes a public REST route, cubewp-custom-form/v1/submit/, that accepts form submissions. Submitting field names the form does not define is said to bypass the route's own nonce check.
  • The sanitizer is missing a default case, so values for those unregistered fields are saved without being cleaned.
  • The admin Leads detail page later renders the saved values without escaping them, so injected script executes in the admin's browser.

The advisory states that a single crafted GET request is enough to plant the content, and that no account is needed. The CVSS v4 metrics on the advisory page list network attack vector, low complexity, no privileges required and passive user interaction, which fits the need for an administrator to open the lead. Because the script runs with the administrator's session, it can perform actions the administrator can, which is why the advisory cites creating a new administrator account as an example of takeover.

Who is affected

Any WordPress site running CubeWP Forms below 1.1.13 is in scope, whether or not you have published a visible form, since the weakness sits in a public REST route. The people most at risk are administrators and staff who open lead entries in wp-admin, because their session is what the injected script borrows. Agencies managing many client sites should check each one, as the plugin may have been installed as part of a larger CubeWP setup.

GitHub's structured fields list affected and patched versions as Unknown. The version boundary (before 1.1.13) comes from the advisory description itself. Confirm the fixed release on the plugin's WordPress.org page.

How to check your exposure

First, find out whether the plugin is installed and which version it runs. This WP-CLI command lists the plugin's name, status and version; run it from the site's root directory. Any version below 1.1.13 needs action.

Check the installed CubeWP Forms version (run on the server in the WordPress root)WP-CLI
wp plugin list --name=cubewp-forms --fields=name,status,version

If you cannot use WP-CLI, open Plugins in wp-admin and read the version under CubeWP Forms. For many sites at once, the known plugin vulnerabilities list and the guide on checking whether a WordPress plugin is vulnerable can help.

Next, look for signs that someone already tried this. The research does not report active exploitation, but stored XSS leaves its payload in your own data. Open the Leads list in wp-admin carefully, and consider reviewing entries from the database rather than rendering them in a browser while the site is still on a vulnerable version.

What to do now

  1. Update CubeWP Forms to 1.1.13 or later on every site that uses it.
  2. Until you can update, avoid opening lead detail pages in wp-admin, since that is when the stored script runs.
  3. Review the administrator list for accounts you do not recognize and remove any you did not create.
  4. Check recently created users, changed passwords and newly installed plugins or themes.
  5. Inspect existing leads for unexpected markup or script-like content, ideally in the database or an exported view rather than in the rendered admin page.
  6. If you find a suspicious admin account or unexplained changes, rotate administrator passwords, invalidate active sessions and follow a hacked-site process.
  7. Remove the plugin if you no longer use it.

This WP-CLI command updates the plugin to the newest release available from WordPress.org. Run it from the WordPress root, then re-run the version check above to confirm it reports 1.1.13 or higher.

Caution. Back up the site and database before updating, and test on staging if the form feeds a CRM or other integration. Plugin updates can change behavior on live sites.
Update CubeWP Forms (run on the server in the WordPress root)WP-CLI
wp plugin update cubewp-forms

To list all administrator accounts and spot unfamiliar ones, run the following. It is read-only and shows user IDs, logins, emails and registration dates.

List administrator accounts (read-only, run in the WordPress root)WP-CLI
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered

Detection and monitoring afterwards

Stored XSS is quiet: nothing looks broken until an admin views the entry. Keep an eye on new administrator accounts, unexpected plugin installs and unusual requests to the cubewp-custom-form/v1/submit/ route in your web server logs, especially from a single address or with odd parameters. A website firewall can add a layer of filtering in front of REST routes, but it is not a substitute for updating the plugin.

Webforta's free security headers checker shows whether your site sends a Content-Security-Policy header. A strict policy can limit what injected script is able to do in a browser, though it is a mitigation and does not remove the underlying flaw. For general upkeep, work through the WordPress security checklist.

What is still unknown

The research does not say whether this flaw is being exploited, whether a proof of concept is public, or how many sites run the plugin. The advisory is unreviewed on GitHub and rests on a single original description. Check the plugin's changelog and the vendor advisory links for any corrections to the affected range.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-136522 - GitHub Advisory Databasegithub.com
  2. CVE-2026-136522: CubeWP Forms before 1.1.13 contains an unauthenticated stored cross-site scripting vulnerability that allows attackers to inject malicious JavaScript by…nvd.nist.gov ·
  • WordPress
  • XSS
  • CubeWP Forms
  • CVE-2026-136522
  • plugin security