What the vulnerability does
01Description
The Ultimate Blocks – WordPress Blocks Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'buttonTextColor’ parameter in all versions up to, and including, 3.2.7 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.
Explanation of Vulnerability in Simple Terms
02Summary
Ultimate Blocks versions 3.2.7 and earlier contain a cross-site scripting vulnerability in the Gutenberg block editor. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site users, potentially compromising their accounts or stealing sensitive data. The vulnerability affects the site's scope, meaning impacts may extend beyond the vulnerable component itself.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view affected content.
Potential impact on your site
04Site Impact
Site users' accounts and data are at risk if an attacker with editor access injects malicious scripts into block content.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege WordPress account (e.g., contributor or editor role).
Key dates
06Disclosure timeline
March 26, 2025
CVE published
April 8, 2026
Record updated