Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-12159

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

CVE-2025-12159 is a stored XSS vulnerability in Bold Page Builder plugin for WordPress that lets authenticated attackers inject malicious scripts. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 13, 2026

CVE-2025-12159 Overview

The Bold Page Builder plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the bt_bb_raw_content shortcode. This security flaw affects all versions up to and including 5.4.8 and stems from insufficient input sanitization and output escaping on user-supplied attributes. Authenticated attackers with contributor-level access or higher can exploit this vulnerability to inject arbitrary web scripts into WordPress pages, which execute whenever any user views the compromised page.

Critical Impact

Attackers with contributor-level privileges can inject persistent malicious scripts that execute in victims' browsers, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of legitimate users.

Affected Products

  • Bold Page Builder plugin for WordPress versions up to and including 5.4.8
  • WordPress installations using affected Bold Page Builder versions
  • Websites with contributor-level or higher user accounts using the vulnerable plugin

Discovery Timeline

  • 2026-02-07 - CVE CVE-2025-12159 published to NVD
  • 2026-02-09 - Last updated in NVD database

Technical Details for CVE-2025-12159

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability resides in the Bold Page Builder plugin's bt_bb_raw_content shortcode functionality. The core issue is that the plugin fails to properly sanitize and escape user-supplied attribute values before rendering them in the HTML output. When a user with contributor-level access creates or edits content using the bt_bb_raw_content shortcode, malicious JavaScript can be embedded within the shortcode attributes. This payload is then stored in the WordPress database and served to all subsequent visitors of the affected page.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which is the standard classification for Cross-Site Scripting vulnerabilities. The attack surface is network-accessible, requiring low complexity to exploit, and the impact crosses security boundaries as the injected scripts execute in the context of other users' browser sessions.

Root Cause

The root cause of this vulnerability is insufficient input sanitization and output escaping within the bt_bb_raw_content.php file. The plugin processes user-supplied shortcode attributes without adequately filtering or encoding special characters that could be interpreted as HTML or JavaScript by the browser. Specifically, the shortcode handler at line 25 of the affected file does not implement proper WordPress escaping functions such as esc_attr(), esc_html(), or wp_kses() when outputting user-controlled data.

Attack Vector

The attack requires an authenticated user with at least contributor-level privileges to access the WordPress post editor. The attacker crafts a malicious shortcode using bt_bb_raw_content with specially crafted attribute values containing JavaScript payloads. Once the page containing the malicious shortcode is published or saved, any user who views the page—including administrators—will have the injected script execute in their browser context.

The attack can be leveraged for various malicious purposes including:

  • Stealing session cookies to hijack administrator accounts
  • Redirecting users to phishing or malware distribution sites
  • Defacing website content dynamically
  • Performing actions on behalf of authenticated users
  • Capturing keystrokes or form data from visitors

Technical details of the vulnerable code path can be found in the WordPress Plugin Code Review.

Detection Methods for CVE-2025-12159

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags within post content containing bt_bb_raw_content shortcodes
  • Database entries in wp_posts or wp_postmeta tables containing suspicious encoded payloads within shortcode attributes
  • User reports of unexpected browser behavior, redirects, or pop-ups when viewing specific pages
  • Audit logs showing contributor-level users creating or modifying pages with unusual shortcode content

Detection Strategies

  • Implement WordPress content scanning to detect malicious JavaScript patterns within shortcode attributes in stored posts
  • Enable and monitor WordPress audit logging for content modifications by contributor-level users
  • Deploy Web Application Firewall (WAF) rules to detect common XSS payloads in POST requests to the WordPress editor
  • Use SentinelOne Singularity platform to monitor for suspicious JavaScript execution patterns and DOM manipulation attempts

Monitoring Recommendations

  • Review WordPress user accounts with contributor or higher privileges and enforce least privilege access
  • Implement Content Security Policy (CSP) headers to mitigate the impact of successful XSS exploitation
  • Monitor server access logs for unusual patterns of page access following content updates
  • Configure alerting for modifications to pages using Bold Page Builder shortcodes

How to Mitigate CVE-2025-12159

Immediate Actions Required

  • Update the Bold Page Builder plugin to a patched version higher than 5.4.8 immediately
  • Audit existing WordPress content for any instances of bt_bb_raw_content shortcodes with suspicious attribute values
  • Review and restrict user accounts with contributor-level access or higher
  • Implement Content Security Policy headers to reduce XSS impact while patching is underway

Patch Information

Organizations should update the Bold Page Builder plugin to the latest available version that addresses this vulnerability. The patch implements proper input sanitization and output escaping for the bt_bb_raw_content shortcode attributes. Plugin updates can be applied through the WordPress admin dashboard under Plugins > Installed Plugins, or via WP-CLI using wp plugin update bold-page-builder. For detailed vulnerability information, refer to the Wordfence Vulnerability Report.

Workarounds

  • Temporarily disable the Bold Page Builder plugin if immediate patching is not possible
  • Remove contributor-level and author-level user access until the plugin is updated
  • Implement server-side input filtering using a WAF to block common XSS patterns in POST data
  • Add custom output escaping filters for the bt_bb_raw_content shortcode if plugin modification is feasible
bash
# Disable Bold Page Builder via WP-CLI as temporary mitigation
wp plugin deactivate bold-page-builder

# Scan database for potentially malicious content in shortcodes
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%bt_bb_raw_content%' AND (post_content LIKE '%<script%' OR post_content LIKE '%javascript:%' OR post_content LIKE '%onerror%' OR post_content LIKE '%onload%')"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Code Review

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-4512: reCaptcha by WebDesignBy XSS Vulnerability

  • CVE-2025-32630: WP-BusinessDirectory XSS Vulnerability

  • CVE-2025-32581: WordPress Spam Blocker XSS Vulnerability

  • CVE-2025-28975: Alike WordPress Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English