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

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

CVE-2025-15267 is a stored cross-site scripting flaw in Bold Page Builder plugin for WordPress that enables attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Updated:

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-15267 Overview

CVE-2025-15267 is a Stored Cross-Site Scripting (XSS) vulnerability in the Bold Page Builder plugin for WordPress. The flaw exists in the bt_bb_accordion_item shortcode and affects all plugin versions up to and including 5.5.7. The vulnerability stems from insufficient input sanitization and output escaping on user supplied shortcode attributes. Authenticated users with contributor-level access or higher can inject arbitrary JavaScript into pages. The injected payload executes in the browser of any visitor who views the affected page. This vulnerability is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.

Critical Impact

Authenticated contributors can inject persistent JavaScript that executes against site administrators and visitors, enabling session theft, account takeover, and arbitrary actions in the context of higher-privileged users.

Affected Products

  • Bold Page Builder plugin for WordPress — all versions through 5.5.7
  • Vulnerable component: bt_bb_accordion_item shortcode handler
  • WordPress sites permitting contributor-level (or higher) registration

Discovery Timeline

  • 2026-02-07 - CVE-2025-15267 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-15267

Vulnerability Analysis

The vulnerability resides in the bt_bb_accordion_item shortcode implementation within the Bold Page Builder plugin source file bt_bb_accordion_item.php. The shortcode accepts user supplied attributes and renders them into HTML output without sufficient sanitization or escaping. An attacker with contributor-level access submits a post or page containing the malicious shortcode. When an administrator, editor, or site visitor renders the page, the injected JavaScript executes within their browser session.

The stored nature of the flaw means the payload persists in the WordPress database. Each subsequent page view re-triggers execution without further attacker interaction. Successful exploitation can hijack administrator sessions, inject backdoor accounts, alter content, redirect visitors, or pivot to broader site compromise through plugin-level actions.

Root Cause

The plugin fails to apply WordPress sanitization functions such as esc_attr(), wp_kses(), or esc_html() to shortcode attribute values before echoing them into rendered HTML. Shortcode attributes flow directly from user-controlled input into the DOM, satisfying the conditions for stored XSS [CWE-79].

Attack Vector

The attack requires network access and authenticated low-privilege access. A contributor account submits content containing a crafted bt_bb_accordion_item shortcode where one or more attributes contain a script payload. The malicious markup is stored in wp_posts. When the page is previewed or published and viewed, the unescaped attribute renders directly into the response, and the browser executes the attacker-controlled JavaScript.

No verified public exploit code is available. The shortcode handler source is referenced in the WordPress Plugin Code Review and the Wordfence Vulnerability Report.

Detection Methods for CVE-2025-15267

Indicators of Compromise

  • Unexpected <script>, onerror, onclick, or javascript: strings inside bt_bb_accordion_item shortcode attributes within wp_posts content.
  • New or modified posts authored by contributor-level accounts containing Bold Page Builder shortcodes with unusual attribute values.
  • Outbound browser requests from administrator sessions to attacker-controlled domains after viewing affected pages.
  • Creation of new administrator accounts or unexpected plugin/theme installs following content edits by low-privilege users.

Detection Strategies

  • Query the WordPress database for bt_bb_accordion_item shortcodes containing HTML event handlers or script tags in attribute values.
  • Audit web server access logs for page views immediately followed by anomalous administrative actions in wp-admin.
  • Run a Bold Page Builder plugin version inventory across managed WordPress sites and flag any installation at 5.5.7 or earlier.

Monitoring Recommendations

  • Alert on POST requests to /wp-admin/post.php from contributor accounts that include bt_bb_ shortcode patterns.
  • Monitor the wp_users and wp_usermeta tables for unauthorized role changes following content submissions.
  • Forward WordPress audit and web server logs to a centralized SIEM and correlate authentication events with content modification events.

How to Mitigate CVE-2025-15267

Immediate Actions Required

  • Update the Bold Page Builder plugin to a version newer than 5.5.7 once a patched release is published by the vendor.
  • Audit contributor and author accounts and remove any that are inactive or unnecessary.
  • Review recent posts and pages for malicious bt_bb_accordion_item shortcode attributes and sanitize or remove the content.
  • Rotate administrator credentials and invalidate active sessions if suspicious content has been published.

Patch Information

At the time of NVD publication, the vulnerability affects all versions up to and including 5.5.7. Monitor the Wordfence Vulnerability Report and the official WordPress plugin repository for a fixed release. Apply the patch promptly once available.

Workarounds

  • Disable the Bold Page Builder plugin until a patched version is installed.
  • Restrict the contributor role from being assigned to untrusted users and disable open user registration.
  • Deploy a web application firewall (WAF) rule that blocks bt_bb_accordion_item shortcodes containing <script, on*=, or javascript: patterns in POST bodies.
  • Apply a Content Security Policy (CSP) that disallows inline scripts to reduce stored XSS impact.
bash
# Example WordPress CLI commands to inventory and disable the vulnerable plugin
wp plugin list --name=bold-page-builder --fields=name,status,version
wp plugin deactivate bold-page-builder

# Search published content for suspicious shortcode attributes
wp db query "SELECT ID, post_title FROM wp_posts \
  WHERE post_content LIKE '%bt_bb_accordion_item%' \
  AND (post_content LIKE '%<script%' \
       OR post_content LIKE '%onerror=%' \
       OR post_content LIKE '%javascript:%');"

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.