Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-84021

CVE-2026-84021: Bold Page Builder WordPress XSS Vulnerability

CVE-2026-84021 is a cross-site scripting flaw in Bold Page Builder WordPress plugin that lets contributors inject malicious scripts. This post explains the technical details, affected versions, and mitigation steps.

Published:

CVE-2026-84021 Overview

CVE-2026-84021 is a stored Cross-Site Scripting (XSS) vulnerability [CWE-79] in the Bold Page Builder plugin for WordPress. Versions prior to 5.9.8 fail to properly validate link URLs before rendering them inside HTML attributes. The plugin relies on a filter that attackers can evade, enabling authenticated users with Contributor role or higher to inject arbitrary JavaScript. The injected script executes in the browser of any user who clicks the affected link.

Critical Impact

Authenticated contributors can inject persistent JavaScript that runs in the context of site visitors and administrators, enabling session theft, privilege escalation, and site takeover through targeted clicks.

Affected Products

  • Bold Page Builder WordPress plugin versions prior to 5.9.8
  • WordPress sites permitting Contributor-level accounts or higher
  • Any WordPress deployment with Bold Page Builder installed and enabled

Discovery Timeline

  • 2026-09-05 - CVE-2026-84021 published to the National Vulnerability Database
  • 2026-09-08 - Last updated in NVD database

Technical Details for CVE-2026-84021

Vulnerability Analysis

The flaw resides in how Bold Page Builder handles user-supplied link URLs before embedding them in rendered HTML output. The plugin applies a sanitization filter intended to strip dangerous protocols and script payloads. Attackers can craft URL values that bypass this filter, allowing script content to reach the final HTML attribute unchanged.

When the page renders, the malicious URL is stored inside an attribute such as href. A visitor clicking the link triggers execution of the attacker-controlled JavaScript within the site's origin. Because the payload is persistent, every subsequent visitor who interacts with the link is affected until the content is removed.

Exploitation requires an authenticated account with Contributor privileges or above. The user interaction requirement (a click) limits opportunistic exploitation but does not prevent targeted attacks against administrators.

Root Cause

The vulnerability stems from reliance on an insufficient URL validation filter rather than context-aware output encoding. The filter fails to account for encoding tricks and protocol variations that resolve to executable script content in a browser. Proper mitigation requires escaping URL data using WordPress functions such as esc_url() for attribute contexts and rejecting non-http/https schemes.

Attack Vector

An attacker with Contributor access authors a post or page containing a Bold Page Builder element with a link URL. The URL is crafted to bypass the plugin's filter and embed a JavaScript payload inside an HTML attribute. After the post is published or previewed by a privileged user, any click on the malicious link executes the payload in the victim's browser session.

The vulnerability is documented in the WPScan Vulnerability Report.

Detection Methods for CVE-2026-84021

Indicators of Compromise

  • Post or page content containing anchor tags with non-standard URL schemes such as javascript: or encoded variants
  • Bold Page Builder shortcodes or block markup with unusual characters inside link URL parameters
  • Contributor accounts submitting posts with obfuscated link payloads shortly before administrator review
  • Unexpected outbound requests from administrator browsers after previewing contributor-authored content

Detection Strategies

  • Scan the WordPress wp_posts table for stored content matching patterns like javascript:, data:text/html, or HTML-entity encoded script fragments in Bold Page Builder blocks
  • Enable WordPress activity logging to correlate Contributor post submissions with subsequent administrator interactions
  • Review web server access logs for anomalous requests originating from administrator sessions after content preview events

Monitoring Recommendations

  • Monitor for privilege changes, new administrator accounts, or plugin installations following Contributor activity
  • Alert on Content Security Policy (CSP) violations reported by browsers when viewing plugin-rendered pages
  • Track version drift of the Bold Page Builder plugin across managed WordPress instances

How to Mitigate CVE-2026-84021

Immediate Actions Required

  • Upgrade the Bold Page Builder plugin to version 5.9.8 or later on every WordPress installation
  • Audit existing posts and pages authored by Contributor-level users for suspicious link URLs
  • Rotate credentials and session tokens for administrators who may have interacted with untrusted contributor content
  • Review the WordPress user roster and remove or downgrade unnecessary Contributor accounts

Patch Information

The vendor addressed the issue in Bold Page Builder version 5.9.8 by strengthening URL validation before HTML attribute output. Refer to the WPScan Vulnerability Report for the authoritative fix reference.

Workarounds

  • Restrict content contribution to trusted, vetted users until the patched version is deployed
  • Deploy a Web Application Firewall (WAF) rule blocking POST requests to WordPress admin endpoints containing javascript: URI fragments in Bold Page Builder parameters
  • Enforce a strict Content Security Policy that disallows inline script execution on the front end
  • Disable the Bold Page Builder plugin entirely if immediate patching is not feasible
bash
# Configuration example: enforce plugin update via WP-CLI
wp plugin update bold-page-builder --version=5.9.8
wp plugin list --name=bold-page-builder --fields=name,status,version

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.