The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2020-28650

CVE-2020-28650: WPBakery Page Builder XSS Vulnerability

CVE-2020-28650 is a cross-site scripting flaw in WPBakery Page Builder that disables WordPress XSS protections for Authors and Contributors. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2020-28650 Overview

CVE-2020-28650 is a Cross-Site Scripting (XSS) vulnerability affecting the WPBakery Page Builder plugin for WordPress. The vulnerability exists because the plugin calls kses_remove_filters to disable WordPress's standard XSS protection mechanism for users with the Author and Contributor roles. This security flaw allows lower-privileged authenticated users to inject malicious scripts that can be executed in the browsers of other users, including administrators.

Critical Impact

This vulnerability exposes over 4 million WordPress sites using WPBakery Page Builder to stored XSS attacks, potentially allowing account takeover, session hijacking, and administrative compromise through malicious script injection.

Affected Products

  • WPBakery Page Builder versions prior to 6.4.1
  • WordPress installations using vulnerable WPBakery Page Builder plugin
  • Sites allowing Author or Contributor user roles with access to the page builder

Discovery Timeline

  • 2020-11-16 - CVE CVE-2020-28650 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-28650

Vulnerability Analysis

The vulnerability stems from the WPBakery Page Builder's intentional disabling of WordPress's built-in content sanitization mechanisms. WordPress provides robust XSS protection through its KSES (KSES Strips Evil Scripts) filtering system, which sanitizes user-submitted content to remove potentially malicious HTML and JavaScript.

WPBakery Page Builder circumvents this protection by calling kses_remove_filters(), a WordPress function that temporarily disables KSES filtering. While this approach allows users to embed rich content within page builder elements, it creates a significant security gap for users with Author and Contributor roles, who are not typically trusted with unfiltered HTML capabilities.

In WordPress's security model, only Administrators and Editors possess the unfiltered_html capability by default. By removing KSES filters for lower-privileged users, the plugin effectively grants them elevated content privileges, enabling the injection of arbitrary JavaScript code that persists in the database and executes when pages are viewed.

Root Cause

The root cause is the improper handling of user role permissions when invoking kses_remove_filters(). The plugin fails to verify whether the current user should have the unfiltered_html capability before disabling WordPress's XSS protection mechanisms. This design flaw allows Authors and Contributors—who are typically only semi-trusted users—to bypass content security restrictions that WordPress enforces by default.

Attack Vector

An attacker with Author or Contributor privileges on a vulnerable WordPress installation can exploit this vulnerability through the following attack flow:

  1. The attacker authenticates to the WordPress dashboard with Author or Contributor role credentials
  2. Using WPBakery Page Builder's interface, the attacker creates or edits page content
  3. The attacker injects malicious JavaScript code within page builder elements
  4. When kses_remove_filters() is called, WordPress's XSS sanitization is bypassed
  5. The malicious script is saved to the database without sanitization
  6. When an administrator or other user views the affected page, the malicious script executes in their browser context
  7. The attacker can then steal session cookies, perform actions on behalf of the victim, or escalate privileges

This is a stored XSS vulnerability that requires user interaction (viewing the compromised page) but can be highly effective since the malicious content persists and affects all users who view the page.

Detection Methods for CVE-2020-28650

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags in page builder content created by Authors or Contributors
  • Suspicious event handlers (onclick, onerror, onload) embedded in page content
  • Anomalous admin account creation or privilege changes following page views
  • Session hijacking indicators or unexplained administrative actions

Detection Strategies

  • Review page builder content from Author and Contributor roles for embedded scripts or suspicious HTML
  • Implement Web Application Firewall (WAF) rules to detect XSS payload patterns in POST requests to page builder endpoints
  • Monitor WordPress audit logs for content modifications by lower-privileged users containing HTML event handlers
  • Scan stored page content for common XSS patterns and obfuscated JavaScript

Monitoring Recommendations

  • Enable comprehensive logging for all page builder content submissions and modifications
  • Deploy real-time alerting for detection of script tags or JavaScript event handlers in Author/Contributor submissions
  • Regularly audit user role assignments to ensure only trusted users have content creation capabilities
  • Monitor for signs of privilege escalation or unauthorized administrative actions following page views

How to Mitigate CVE-2020-28650

Immediate Actions Required

  • Update WPBakery Page Builder to version 6.4.1 or later immediately
  • Review all existing page content created by Authors and Contributors for malicious scripts
  • Temporarily restrict page builder access for Author and Contributor roles until patching is complete
  • Audit user accounts for any signs of compromise or unauthorized privilege escalation

Patch Information

The vulnerability is remediated in WPBakery Page Builder version 6.4.1 and later. The patch addresses the improper use of kses_remove_filters() by ensuring that XSS protection mechanisms remain active for users without the unfiltered_html capability. Site administrators should update the plugin through the WordPress dashboard or by downloading the latest version from the official WPBakery website. For additional technical details, see the Wordfence Blog on WPBakery Vulnerability.

Workarounds

  • Remove page builder access from Author and Contributor roles by adjusting role capabilities using a role editor plugin
  • Implement a content review workflow requiring Editor or Administrator approval before publishing Author/Contributor content
  • Deploy a Web Application Firewall with XSS protection rules targeting page builder submission endpoints
  • Consider limiting Author and Contributor accounts to only essential, trusted users until the plugin can be updated
bash
# Example: Verify WPBakery Page Builder version via WP-CLI
wp plugin list --name=js_composer --fields=name,version,status

# Update WPBakery Page Builder to latest version
wp plugin update js_composer

# List users with Author or Contributor roles for review
wp user list --role=author --fields=ID,user_login,user_email
wp user list --role=contributor --fields=ID,user_login,user_email

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWpbakery Page Builder

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.15%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Wordfence Blog on WPBakery Vulnerability
  • Related CVEs
  • CVE-2025-39410: Smart Sections WPBakery Addon 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