CVE-2025-1312 MEDIUM

CVE-2025-1312: Ultimate Blocks – WordPress Blocks Plugin <= 3.2.7 - Authenticated (Contributor+) Stored Cross-Site Scripting

Vendor Ultimateblocks
Product Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor
Weakness CWE-79 · XSS
Published March 26, 2025
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

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