Skip to main content

CVE-2025-3715: Bold Page Builder WordPress XSS Vulnerability

CVE-2025-3715 is a stored XSS vulnerability in Bold Page Builder plugin for WordPress that allows authenticated attackers with Contributor-level access to inject malicious scripts. This article covers 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-3715 Overview

CVE-2025-3715 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Bold Page Builder plugin for WordPress. The flaw exists in all versions up to and including 5.3.5. It stems from insufficient input sanitization and output escaping on the data-text parameter, mapped to [CWE-79].

Authenticated attackers with Contributor-level access or higher can inject arbitrary JavaScript into pages. The injected scripts execute in the browser of any user who views the affected page, including administrators. This creates a path for session hijacking, privilege escalation via administrative actions, and redirection of site visitors to attacker-controlled content.

Critical Impact

Authenticated contributors can persist JavaScript payloads that execute in administrator sessions, enabling account takeover of WordPress sites running Bold Page Builder ≤ 5.3.5.

Affected Products

  • Bold Page Builder plugin for WordPress, versions up to and including 5.3.5
  • WordPress sites permitting Contributor-level or higher registrations
  • Any page or post rendered through Bold Page Builder content elements using data-text

Discovery Timeline

  • 2025-05-18 - CVE-2025-3715 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-3715

Vulnerability Analysis

The Bold Page Builder plugin exposes content element attributes that accept user-supplied text through the data-text parameter. The plugin fails to sanitize this input on save and does not escape it on output when the page renders. As a result, attacker-controlled markup is preserved in the database and injected verbatim into the DOM.

Because the payload is stored server-side, exploitation requires only a single authenticated write. Every subsequent page view triggers execution in the visitor's browser under the site's origin. This grants the attacker access to cookies, session state, and any privileged actions available to the viewer.

The technical fix was committed in WordPress Changeset #3292512, which adds proper escaping to the affected content elements. Additional context is available in the Wordfence Vulnerability Analysis.

Root Cause

The root cause is missing output escaping on the data-text attribute inside the plugin's content element rendering logic. The vulnerable JavaScript handling lives in content_elements.js. The plugin trusts editor-supplied values without applying WordPress escaping helpers such as esc_attr() or esc_html().

Attack Vector

An authenticated Contributor uses the Bold Page Builder editor to create or edit a page containing a content element that accepts a data-text value. The attacker submits a payload containing HTML event handlers or script tags. When an administrator or site visitor loads the page, the payload executes in their browser session.

No verified public proof-of-concept code is available. Refer to the vendor changeset and Wordfence analysis linked above for technical detail on the affected parameter and fix.

Detection Methods for CVE-2025-3715

Indicators of Compromise

  • Post or page content in the WordPress database containing data-text attributes with <script>, onerror=, onload=, or javascript: payloads
  • New administrator accounts created without a corresponding audit trail after Contributor activity
  • Unexpected outbound requests from browser sessions of users viewing Bold Page Builder pages
  • Modifications to wp_posts entries by Contributor-role users referencing Bold Page Builder shortcodes

Detection Strategies

  • Query the WordPress database for stored content containing HTML event handlers within Bold Page Builder shortcodes or elements
  • Review the plugin version in wp-content/plugins/bold-page-builder/bold-page-builder.php and flag installations at or below 5.3.5
  • Correlate Contributor-role post revisions with subsequent administrator session anomalies

Monitoring Recommendations

  • Enable WordPress audit logging for post creation and revision events by non-Editor roles
  • Deploy a Web Application Firewall (WAF) rule set that flags <script> tags and JavaScript event handlers submitted through the WordPress editor endpoints
  • Monitor administrator browser sessions for unexpected DOM modifications or outbound XHR requests originating from CMS pages

How to Mitigate CVE-2025-3715

Immediate Actions Required

  • Update the Bold Page Builder plugin to the version released after 5.3.5 that includes WordPress Changeset #3292512
  • Audit existing Bold Page Builder pages for stored payloads in data-text attributes and remove any suspicious markup
  • Review Contributor and Author accounts, disabling any that are inactive or unrecognized
  • Rotate administrator session cookies and force password resets if injection is confirmed

Patch Information

The vendor addressed CVE-2025-3715 through WordPress Changeset #3292512, which introduces proper sanitization and output escaping for the data-text parameter. Apply the patched release through the WordPress plugin updater or by replacing the plugin directory contents.

Workarounds

  • Restrict Contributor-level access until the plugin is updated
  • Deactivate the Bold Page Builder plugin on sites that cannot be patched immediately
  • Deploy a WAF rule that blocks HTML event handlers and script tags submitted to WordPress post.php and admin-ajax.php endpoints
bash
# Configuration example: identify vulnerable installs across managed WordPress hosts
find /var/www -type f -path '*/plugins/bold-page-builder/bold-page-builder.php' \
  -exec grep -H '^ \* Version:' {} \;

# Update via WP-CLI once a patched release is available
wp plugin update bold-page-builder --allow-root

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.