A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-5428

CVE-2026-5428: Royal Elementor Addons XSS Vulnerability

CVE-2026-5428 is a stored cross-site scripting flaw in Royal Elementor Addons plugin for WordPress that allows authenticated attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-5428 Overview

The Royal Elementor Addons plugin for WordPress contains a Stored Cross-Site Scripting (XSS) vulnerability in the Image Grid/Slider/Carousel widget affecting versions up to and including 1.7.1056. The vulnerability exists due to insufficient output escaping in the render_post_thumbnail() function, where wp_kses_post() is used instead of esc_attr() for the alt attribute context. This allows authenticated attackers with Author-level access or higher to inject malicious scripts that execute when users view pages containing the affected media grid widget.

Critical Impact

Authenticated attackers can inject persistent malicious JavaScript through image captions, enabling session hijacking, credential theft, and administrative account compromise on affected WordPress sites.

Affected Products

  • Royal Elementor Addons plugin for WordPress versions up to and including 1.7.1056
  • WordPress installations using the vulnerable Image Grid/Slider/Carousel widget
  • Sites with Author-level or higher user accounts that could be compromised

Discovery Timeline

  • 2026-04-24 - CVE-2026-5428 published to NVD
  • 2026-04-24 - Last updated in NVD database

Technical Details for CVE-2026-5428

Vulnerability Analysis

This Stored XSS vulnerability (CWE-79) stems from improper output encoding in the Royal Elementor Addons plugin's media grid functionality. The render_post_thumbnail() function processes image caption data and outputs it within HTML attribute contexts. The developer used wp_kses_post() for sanitization, which is designed to allow a subset of HTML tags for post content but is insufficient for attribute context output.

When user-supplied image caption data is rendered within the alt attribute of image elements, the use of wp_kses_post() instead of esc_attr() creates an exploitable injection point. While wp_kses_post() filters certain HTML tags, it does not properly escape special characters like double quotes that are critical in attribute contexts, allowing attackers to break out of the attribute and inject arbitrary JavaScript.

The vulnerability requires Author-level authentication, limiting the attack surface but still presenting significant risk on multi-author sites or where author accounts could be compromised.

Root Cause

The root cause is the use of an incorrect sanitization function for the output context. The wp_kses_post() function is designed for filtering HTML content in post bodies, not for escaping values placed inside HTML attributes. For attribute contexts, WordPress provides esc_attr() which properly encodes special characters including double quotes, single quotes, and ampersands. By using the wrong function, the plugin fails to neutralize attribute-breaking characters, enabling injection of malicious event handlers or scripts.

Attack Vector

The attack exploits the network-accessible WordPress media grid widget functionality. An authenticated attacker with at least Author-level privileges can upload an image with a specially crafted caption containing JavaScript payloads. When this image is displayed via the Image Grid/Slider/Carousel widget, the malicious script executes in the browser context of any user viewing the page.

The attack flow involves:

  1. The attacker authenticates to WordPress with Author or higher privileges
  2. An image is uploaded with a malicious caption containing JavaScript embedded in attribute-breaking syntax
  3. The image is added to a page using the vulnerable media grid widget
  4. When visitors (including administrators) view the page, the injected JavaScript executes
  5. The malicious script can steal session cookies, perform actions as the victim, or redirect users to phishing pages

Since authentication is required and no user interaction beyond viewing the page is needed, this represents a stored XSS attack with lower barrier for exploitation compared to unauthenticated variants.

Detection Methods for CVE-2026-5428

Indicators of Compromise

  • Unexpected JavaScript code within image caption or alt text fields in the WordPress media library
  • Unusual user session activity following visits to pages with media grid widgets
  • Reports of unexpected redirects, pop-ups, or behavior on pages containing image galleries
  • Suspicious modifications to image metadata by Author-level accounts

Detection Strategies

  • Review image caption and alt text fields for suspicious content including script tags, event handlers, or encoded JavaScript payloads
  • Monitor WordPress database tables wp_postmeta and wp_posts for caption/alt values containing <script>, onerror=, onload=, or similar injection patterns
  • Implement Content Security Policy (CSP) headers to detect and report inline script execution attempts
  • Use WordPress security plugins to scan for known XSS patterns in media metadata

Monitoring Recommendations

  • Enable comprehensive logging for WordPress media library operations, particularly caption and metadata updates
  • Deploy web application firewalls (WAF) with XSS detection rules specific to attribute injection patterns
  • Monitor for unusual patterns of image uploads or metadata modifications from Author-level accounts
  • Implement browser-side monitoring using CSP report-uri directives to capture violation reports

How to Mitigate CVE-2026-5428

Immediate Actions Required

  • Update Royal Elementor Addons plugin to a version newer than 1.7.1056 that contains the security fix
  • Audit existing image captions in the media library for potentially malicious content
  • Review Author-level and above user accounts for signs of compromise
  • Consider temporarily disabling the Image Grid/Slider/Carousel widget until the update is applied

Patch Information

The vulnerability has been addressed in the plugin's codebase. The fix involves replacing wp_kses_post() with esc_attr() for proper attribute context escaping at line 6752 and line 6755 in the wpr-media-grid.php file. The changeset demonstrates the required code changes. Additional details are available in the Wordfence Vulnerability Report.

Workarounds

  • Restrict Author-level and above access to trusted users only until the patch is applied
  • Implement Content Security Policy headers to mitigate the impact of successful XSS exploitation
  • Use a Web Application Firewall (WAF) with XSS filtering rules to block common injection patterns
  • Temporarily remove or disable the Image Grid/Slider/Carousel widget from public-facing pages
bash
# Example CSP header configuration for Apache to mitigate XSS impact
# Add to .htaccess or Apache configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'none';"

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 Royal Addons Code Line

  • WordPress Royal Addons Code Line

  • WordPress Royal Addons Code Line

  • WordPress Royal Addons Code Line

  • WordPress Royal Addons Change Set

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-1543: Avada Builder WordPress XSS Vulnerability

  • CVE-2026-4811: WPB Floating Menu Plugin XSS Vulnerability

  • CVE-2026-7613: WordPress Cost of Goods Plugin XSS Flaw

  • CVE-2026-5776: Email Encoder WordPress Plugin XSS Flaw
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.

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