Description
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.
Published: 2025-03-26
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via authenticated Contributor+ access
Action: Patch or Upgrade
AI Analysis

Impact

The Ultimate Blocks plugin contains a stored cross‑site scripting flaw that arises from the 'buttonTextColor' field not being properly sanitized or escaped. When a contributor or higher user supplies a malicious value, the script is stored in the block definition and will be executed each time the block is rendered. This allows the attacker to run arbitrary code in the browser context of any visitor to the affected page, potentially hijacking user sessions or exfiltrating data.

Affected Systems

Affected sites are those running the Ultimate Blocks – 25+ Gutenberg Blocks for Block Editor plugin, versions 3.2.7 and earlier. The vulnerability exists in all block types that expose the 'buttonTextColor' parameter. Sites that have not upgraded beyond 3.2.7 remain vulnerable.

Risk and Exploitability

The flaw carries a CVSS score of 6.4, indicating a medium‑to‑high impact if exploited, but the EPSS score of less than 1% shows the likelihood of exploitation is very low. The issue is not listed in the CISA KEV catalog. Attackers need only contributor permissions or higher to inject the payload, so the attack vector is authenticated web interface. While the risk is moderate, the potential damage to confidentiality, integrity and availability of users' browsers warrants prompt action.

Generated by OpenCVE AI on April 20, 2026 at 23:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ultimate Blocks to the latest version, which removes the unsanitized input handling.
  • If an upgrade is not possible, delete or sanitize existing blocks that contain malicious data and remove the 'buttonTextColor' field from any custom block definitions.
  • Restrict contributor or higher roles to only trusted users and audit role assignments regularly.
  • If the plugin is no longer needed, deactivate or uninstall it entirely.

Generated by OpenCVE AI on April 20, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-8119 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.
History

Wed, 26 Mar 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 26 Mar 2025 11:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Ultimate Blocks – WordPress Blocks Plugin <= 3.2.7 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:14:50.514Z

Reserved: 2025-02-14T20:50:47.872Z

Link: CVE-2025-1312

cve-icon Vulnrichment

Updated: 2025-03-26T13:25:15.283Z

cve-icon NVD

Status : Deferred

Published: 2025-03-26T12:15:14.890

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-1312

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-20T23:30:16Z

Weaknesses