CVE-2026-122223: WPBakery Page Builder <= 9.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'values' Shortcode Attribute
The plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'values[textshadowcolor]' parameter in all versions up to, and including, 9.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The wpksespost sanitization applied at save time does not strip the payload because it is stored as URL-encoded JSON inside a shortcode attribute, containing no literal HTML tags for kses to tokenize, leaving the malicious value intact until render time.
Affected Software
Event History
Frequently Asked Questions
Which users could exploit this issue?
An attacker must be authenticated to WordPress with contributor-level permissions or higher. They can place a malicious payload in the values[text_shadow_color] shortcode parameter.
What happens when the payload is triggered?
The injected script is stored in a page and executes when another user accesses that page. The issue can affect confidentiality and integrity in the context of the visiting user's browser session.
Does save-time WordPress sanitization prevent exploitation?
No. The payload is stored as URL-encoded JSON in a shortcode attribute, so wp_kses_post does not identify literal HTML tags to remove; the value remains until the shortcode is rendered.
Which installations are affected?
WPBakery Page Builder versions up to and including 9.1 are affected. The provided information does not identify a fixed version or a configuration-based workaround.