CVE-2025-31077

WordPress Ultimate Blocks plugin <= 3.2.7 - Cross Site Scripting (XSS) vulnerability

Published Mar 28, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks ultimate-blocks allows DOM-Based XSS.This issue affects Ultimate Blocks: from n/a through <= 3.2.7.

Analysis

AI-generated

Technical impact

The Ultimate Blocks plugin for WordPress contains a DOM‑based XSS flaw caused by improper neutralization of input during page generation (CWE‑79). When an attacker supplies malicious payloads within block content that the plugin does not correctly sanitize, the payload is executed in the victim's browser. This allows the attacker to steal cookies, hijack sessions, deface the site, or redirect users to malicious domains. The impact is local to the victim’s browser but can lead to broader data theft or compromise of user accounts on the compromised site.

Affected Systems

All WordPress sites that use the Ultimate Blocks plugin through version 3.2.7 are affected. The vulnerability applies to every release up to and including 3.2.7, regardless of the specific WordPress version.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity, and the EPSS score of less than 1% suggests a low likelihood of exploitation at the time of analysis. The vulnerability is not listed in the CISA KEV catalog, reducing immediate concern. Exploitation requires a web‑based attack vector, typically through a crafted link or a social‑engineering trick that leads the victim to a page containing an unsafe block. Because the flaw is DOM‑based, it generally requires user interaction to trigger, but it can also be triggered via embedded URLs or content that visitors inadvertently load.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Ultimate Blocks to the latest available version to remove the XSS flaw
  • If an update cannot be applied immediately, disable or uninstall the plugin until a fix is available
  • Add a content‑security‑policy header or use a web application firewall rule to block or sanitize reflected XSS payloads

Generated by OpenCVE AI on May 1, 2026 at 03:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-8566 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks allows DOM-Based XSS. This issue affects Ultimate Blocks: from n/a through 3.2.7.
History
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks allows DOM-Based XSS. This issue affects Ultimate Blocks: from n/a through 3.2.7. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks ultimate-blocks allows DOM-Based XSS.This issue affects Ultimate Blocks: from n/a through <= 3.2.7.
References
Metrics cvssV3_1

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

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks allows DOM-Based XSS. This issue affects Ultimate Blocks: from n/a through 3.2.7.
Title WordPress Ultimate Blocks plugin <= 3.2.7 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:12 PM
Reserved
Mar 26, 2025, 9:25 AM
Status
Deferred
Published
Mar 28, 2025, 10:15 AM
Modified
Jun 17, 2026, 9:09 AM