Advisory

CVE-2026-131790: Cross-site scripting in Kadence Blocks

CVSS 7.1 (CVE record)Published Nov 27, 2026Last verified Nov 30, 2026

Unauthenticated attackers can inject arbitrary web scripts into pages created with the Kadence Blocks plugin for WordPress. These scripts execute whenever a…

Exploited in the wild
Not reported
Installs not updated
At least 34.46%
Affected and fixed versions
ComponentAffectedFixed in
Kadence Blocks — Page Builder Toolkit for Gutenberg Editor (plugin)3.9.1.1 and earlier3.9.1.2
Run a free scan of your site

The free scan checks what is visible from outside your site. It does not log in, and it cannot confirm on its own whether this specific issue is present.

Summary

A Stored Cross-Site Scripting (XSS) vulnerability affects the Kadence Blocks — Page Builder Toolkit for Gutenberg Editor plugin for WordPress. This vulnerability impacts all plugin versions up to and including 3.9.1.1. A patch is available in version 3.9.1.2. There is no evidence of active exploitation.

Affected and patched versions

  • Kadence Blocks — Page Builder Toolkit for Gutenberg Editor (plugin kadence-blocks): affected 3.9.1.1 and earlier; fixed in 3.9.1.2

Is my site vulnerable?

To determine if your WordPress site is affected by this vulnerability, you need to check the installed version of the Kadence Blocks — Page Builder Toolkit for Gutenberg Editor plugin. This process can be completed manually through your WordPress administration dashboard.

Follow these steps to check your plugin version:

  1. Log into your WordPress site's administrative dashboard.

  2. In the left-hand navigation menu, select "Plugins" and then click on "Installed Plugins".

  3. A list of all plugins installed on your site will display. Locate "Kadence Blocks — Page Builder Toolkit for Gutenberg Editor" within this list.

  4. The version number for the plugin is typically displayed directly beneath its name.

  5. If the version number shown is 3.9.1.1 or any version prior to it, your site is running a vulnerable version of the plugin. If your site runs version 3.9.1.2 or a later release, the vulnerability has been addressed.

Regularly checking and updating your plugins is a fundamental security practice. Confirming your plugin versions helps maintain the security posture of your WordPress installation against known vulnerabilities.

What an attacker actually does

The Kadence Blocks — Page Builder Toolkit for Gutenberg Editor plugin, in versions up to and including 3.9.1.1, contains a Stored Cross-Site Scripting (XSS) vulnerability. This flaw originates from insufficient input sanitization and output escaping mechanisms within the plugin's code. When user-supplied data is processed by the plugin, it fails to adequately clean or filter out potentially malicious scripts before storing them in the website's database. Subsequently, when this stored data is retrieved and displayed on a web page, the plugin also fails to properly "escape" the output, meaning it does not convert special characters into their harmless HTML entities. This dual failure creates an opportunity for attackers.

An unauthenticated attacker, meaning someone who does not need to log in or have any special permissions on the WordPress site, can exploit this vulnerability. They can craft specific input that includes arbitrary web scripts, typically written in JavaScript. Because the plugin does not properly sanitize this input, the malicious script is accepted and saved into the website's database, becoming a permanent part of a page or post created using Kadence Blocks. This could involve injecting the script into a block's content, settings, or attributes that are not adequately validated.

Once the malicious script is stored and rendered on a page, it executes whenever any user accesses that particular page. This includes regular visitors, logged-in subscribers, editors, and crucially, site administrators. The script runs within the context of the user's browser, appearing to originate from the legitimate website itself. This allows the attacker's script to bypass browser same-origin policies, which normally prevent scripts from one website from interacting with another.

The consequences of such an attack can vary but are often severe. An attacker might use the injected script to steal sensitive information, such as session cookies, which could allow them to hijack a logged-in user's session and impersonate them. If an administrator's session is hijacked, the attacker could gain full control over the WordPress site, creating new administrative accounts, installing malicious plugins, or altering site settings. The script could also redirect users to phishing sites designed to steal credentials, deface the website by altering visible content, or inject unwanted advertisements. Because the script is stored on the server, it persists until removed, affecting every user who views the compromised page.

How to detect a compromise

Detecting a Stored Cross-Site Scripting compromise can be challenging, as the malicious script is embedded within the legitimate content of your website. However, several indicators might suggest an unauthorized injection has occurred. Users might experience unexpected browser behavior, such as sudden redirects to unfamiliar websites, the appearance of pop-up windows, or unusual advertisements that are not part of your site's intended design. Website visitors might also report security warnings from their browsers when attempting to access certain pages on your site.

On the administrative side, you might observe unauthorized changes to your website's content. This could include new, unapproved posts or pages, alterations to existing content within Kadence Blocks, or the presence of strange, unformatted text or code snippets appearing on your site. Reviewing your WordPress audit logs, if available, for unusual activity, especially around content creation or modification, can also provide clues. Look for actions taken by unknown users or unexpected changes made to posts and pages that utilize Kadence Blocks.

Since the malicious script is stored in the database, a direct inspection of your database content can help identify injected code. Specifically, the wp_posts table, which stores all post and page content, is a primary location to investigate. Attackers often embed JavaScript within HTML tags or attributes. You can search the post_content column for suspicious patterns. For example, look for <script> tags that are not part of your legitimate content, or HTML attributes like onerror, onload, onmouseover, or href attributes containing javascript: schemes, which could be used to execute malicious code.

A database query can assist in this search. Using a tool like phpMyAdmin or a command-line interface, you can run queries to identify potentially malicious strings. For instance, the following SQL query can help locate posts or pages containing common script indicators:

SELECT ID, post_title, post_type FROM wp_posts WHERE post_content LIKE '%<script%' OR post_content LIKE '%javascript:%' OR post_content LIKE '%onerror=%' OR post_content LIKE '%onload=%';

This query searches for posts and pages where the content column contains <script tags, javascript: protocol handlers, or onerror= and onload= attributes. Review the results carefully to determine if any identified content is legitimate or malicious. Remember that some legitimate plugins or themes might use JavaScript, so context is important. If you find suspicious entries, isolate them for further analysis and consider restoring from a clean backup if the extent of the compromise is unclear.

How to fix

Addressing this vulnerability requires updating the Kadence Blocks plugin to a patched version. Follow these steps to secure your website:

  1. Backup your website: Before initiating any updates, create a complete backup of your WordPress files and database. This precaution ensures you can restore your site to its previous state if any unforeseen issues arise during the update process.

  2. Update the Kadence Blocks plugin: Access your WordPress administrative dashboard. Navigate to the "Plugins" section and then select "Installed Plugins". Locate "Kadence Blocks — Page Builder Toolkit for Gutenberg Editor" in the list. If an update to version 3.9.1.2 or later is available, click the "Update Now" link associated with the plugin. If no update notification appears, you may need to manually check the plugin's page on WordPress.org for the latest version or consider deactivating and deleting the old version before installing the new one (ensure you have a backup before deleting).

  3. Verify the update: After the update process completes, confirm that the plugin's version number is 3.9.1.2 or higher. This confirms the patch has been successfully applied.

  4. Clear caches: If your website uses caching plugins or a Content Delivery Network (CDN), clear all caches after updating. This ensures that visitors receive the updated, secure code rather than cached versions of the vulnerable code.

  5. Scan for compromise (if applicable): If you suspect your site was compromised before the update, perform a thorough security scan of your website files and database. Review recent changes to posts, pages, and user accounts for any unauthorized modifications or newly created administrative users.

Timeline

Date

Event

2026-11-18

Patch Release

2026-11-20

Public Disclosure

2026-11-22

Details Updated

2026-11-23

Details Published

2026-11-25

Last Update

Sources

PowerSEC coverage
PowerSEC detects the affected versions on every plan, and has since November 28, 2026. No PowerSEC firewall rule blocks this attack. Update to 3.9.1.2 or later to remove the vulnerability.
This record contains material that is subject to copyright Copyright 2012-2026 Defiant Inc. Copyright 1999-2026 The MITRE Corporation
Hacked? Talk to us
CVE-2026-131790: Cross-site scripting in Kadence Blocks