Skip to main content
Vulnerability Database/CVE-2025-48088

CVE-2025-48088: Ultimate Addons for WPBakery XSS Vulnerability

CVE-2025-48088 is a stored cross-site scripting flaw in Ultimate Addons for WPBakery Page Builder that enables attackers to inject malicious scripts. This article covers the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-48088 Overview

CVE-2025-48088 is a stored cross-site scripting (XSS) vulnerability in the Brainstorm Force Ultimate Addons for WPBakery Page Builder WordPress plugin. The flaw affects all versions up to and including 3.21.1 and is tracked under [CWE-79]. Authenticated users with low-privilege access can inject malicious scripts that persist in page content and execute in the browsers of visitors or administrators. The vulnerability requires user interaction and crosses security scopes, enabling attackers to escalate impact through session hijacking or administrative action abuse.

Critical Impact

Authenticated attackers can store malicious JavaScript that executes in administrator browsers, enabling session theft, account takeover, and persistent site compromise.

Affected Products

  • Brainstorm Force Ultimate Addons for WPBakery Page Builder (ultimate_vc_addons)
  • All versions from initial release through 3.21.1
  • WordPress installations running the vulnerable plugin

Discovery Timeline

  • 2025-10-27 - CVE-2025-48088 published to the National Vulnerability Database
  • 2026-10-08 - Last updated in NVD database

Technical Details for CVE-2025-48088

Vulnerability Analysis

The vulnerability stems from improper neutralization of user-supplied input during web page generation. The plugin accepts input from authenticated contributors or editors and renders it into page output without adequate sanitization or output encoding. Stored XSS flaws of this class allow attackers to persist payloads in the WordPress database. Payloads execute whenever a victim loads the affected page or post. The scope change in the CVSS vector reflects that script execution occurs in a security context different from the vulnerable component, extending impact to administrators and site visitors.

Root Cause

The root cause is missing or insufficient input sanitization in the shortcode or widget rendering logic of the ultimate_vc_addons plugin. User-controlled attributes passed through WPBakery shortcodes are embedded in HTML output without proper escaping functions such as esc_attr() or esc_html(). This allows HTML and JavaScript constructs supplied by low-privilege users to survive into the rendered DOM.

Attack Vector

An attacker needs an authenticated WordPress account with content-editing privileges. The attacker injects a JavaScript payload into a vulnerable shortcode parameter or widget field within the page builder interface. The payload is stored in the WordPress database. When an administrator or visitor views the page containing the malicious shortcode, the script executes in their browser session. Exploitation requires a victim to load the affected content, satisfying the user interaction requirement.

No verified public proof-of-concept code is available. See the Patchstack XSS Vulnerability Report for additional technical context.

Detection Methods for CVE-2025-48088

Indicators of Compromise

  • Unexpected <script> tags, event handlers (onerror, onload), or javascript: URIs stored in WordPress wp_posts content
  • WPBakery shortcode attributes containing encoded HTML entities, base64 payloads, or external script references
  • Outbound requests from administrator browsers to unfamiliar domains following access to pages built with the plugin
  • Creation of new administrator accounts or modification of user roles shortly after staff view editor-authored content

Detection Strategies

  • Audit wp_posts and wp_postmeta tables for shortcode content containing script tags or suspicious event attributes
  • Deploy Content Security Policy (CSP) reporting to surface inline script execution attempts on administrator sessions
  • Review WordPress audit logs for content edits by contributor and author roles coinciding with reports of unexpected behavior

Monitoring Recommendations

  • Enable WordPress security plugin logging for post revisions and shortcode changes
  • Monitor administrator session anomalies, including cookie theft indicators and unauthorized REST API calls
  • Alert on new plugin, theme, or user creation events immediately following editorial content changes

How to Mitigate CVE-2025-48088

Immediate Actions Required

  • Update Ultimate Addons for WPBakery Page Builder to a version later than 3.21.1 as soon as a patched release is available from Brainstorm Force
  • Audit all pages and posts built with the plugin for suspicious shortcode content and remove malicious entries
  • Rotate administrator credentials and invalidate active WordPress sessions if compromise is suspected
  • Review contributor, author, and editor accounts and remove any unauthorized or dormant users

Patch Information

Brainstorm Force addresses the issue in versions after 3.21.1. Review the Patchstack XSS Vulnerability Report for the fixed version and vendor advisory details.

Workarounds

  • Restrict content-editing privileges to trusted users until the patch is applied
  • Deploy a web application firewall (WAF) rule set that blocks script tags and event handler attributes in shortcode parameters
  • Enforce a strict Content Security Policy that disallows inline scripts and limits allowed script sources
  • Temporarily disable the plugin on high-value WordPress deployments if editorial workflows permit
bash
# Example Content Security Policy header for WordPress hardening
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'self'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.