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-2026-6504

CVE-2026-6504: Royal Elementor Addons XSS Vulnerability

CVE-2026-6504 is a stored XSS flaw in the Royal Elementor Addons and Templates WordPress plugin that lets authenticated attackers inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2026-6504 Overview

CVE-2026-6504 is a stored Cross-Site Scripting (XSS) vulnerability in the Royal Elementor Addons and Templates plugin for WordPress. The flaw affects all versions up to and including 1.7.1058. It originates from insufficient input sanitization and output escaping on the title_tag parameter used by the plugin's Posts Timeline and Video Playlist widgets. Authenticated users with Contributor-level access or above can inject arbitrary web scripts that execute in the browser of any visitor who loads an affected page. The issue is tracked under CWE-79.

Critical Impact

Authenticated contributors can persist JavaScript payloads that execute against site visitors and administrators, enabling session theft, account takeover, and content manipulation.

Affected Products

  • Royal Elementor Addons and Templates plugin for WordPress, versions through 1.7.1058
  • WordPress sites using the wpr-posts-timeline widget
  • WordPress sites using the wpr-video-playlist widget

Discovery Timeline

  • 2026-05-14 - CVE-2026-6504 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-6504

Vulnerability Analysis

The vulnerability resides in the rendering logic of the Posts Timeline and Video Playlist widgets shipped with Royal Elementor Addons and Templates. Both widgets accept a title_tag parameter that controls the HTML tag wrapping displayed titles. The plugin writes this attacker-controlled value into rendered output without applying adequate sanitization or escaping. As a result, an authenticated attacker can supply a crafted title_tag value containing script content that the plugin emits directly into the page DOM. The injected script then runs in the context of every user who visits the page, including administrators.

Root Cause

The plugin fails to validate title_tag against an allow-list of safe HTML tag names and does not pass the value through WordPress escaping helpers such as tag_escape() or esc_html() before output. Because the field is intended to hold structural markup, developers omitted the escaping that would normally apply to free-form text fields. Stored content is rendered on subsequent page loads, making the injection persistent.

Attack Vector

Exploitation requires an authenticated account with at least Contributor privileges. The attacker creates or edits a post or page containing one of the affected widgets and supplies a malicious payload via the title_tag field. The payload is saved to the database and executed each time the page is rendered. Because the attack is network-accessible and changes the security scope (executing in the context of higher-privileged users who view the content), it can be chained to escalate privileges within the WordPress site. Technical details and the corrective code changes are available in the WordPress Plugin Change Log for posts-timeline and the WordPress Plugin Change Log for video-playlist.

Detection Methods for CVE-2026-6504

Indicators of Compromise

  • Post or page records in wp_posts containing serialized Elementor data where the title_tag field includes <script>, onerror=, onload=, or javascript: strings.
  • Unexpected outbound requests from administrator browsers to attacker-controlled domains after viewing posts that use Posts Timeline or Video Playlist widgets.
  • Newly created administrator accounts or modified user roles following Contributor activity on pages containing the affected widgets.

Detection Strategies

  • Audit Elementor page metadata for non-standard title_tag values that fall outside expected tags such as h1 through h6, div, span, or p.
  • Review the wp_posts and wp_postmeta tables for HTML event handlers or script tags embedded in widget configurations.
  • Correlate Contributor-level edits with subsequent administrator session anomalies in web access logs.

Monitoring Recommendations

  • Enable WordPress audit logging to track post edits performed by Contributor and Author accounts.
  • Monitor web server logs for POST requests to admin-ajax.php and the Elementor editor endpoints originating from low-privilege users.
  • Alert on Content Security Policy violation reports referencing inline script execution on pages using Royal Elementor widgets.

How to Mitigate CVE-2026-6504

Immediate Actions Required

  • Update the Royal Elementor Addons and Templates plugin to the version that includes changeset 3525351 which addresses both affected widgets.
  • Review all existing posts and pages that use the Posts Timeline or Video Playlist widgets and inspect the title_tag values for malicious content.
  • Rotate credentials and invalidate sessions for any administrator account that may have viewed compromised content.

Patch Information

The vendor addressed the issue in the changeset referenced by the Wordfence Vulnerability Report. Upgrade beyond version 1.7.1058 to receive the fix that adds proper sanitization and output escaping for title_tag in wpr-posts-timeline.php and wpr-video-playlist.php.

Workarounds

  • Restrict Contributor and Author roles from editing pages that contain Royal Elementor widgets until the plugin is updated.
  • Deactivate the Royal Elementor Addons and Templates plugin if an immediate patch cannot be applied and the affected widgets are in use.
  • Deploy a Content Security Policy that disallows inline scripts to reduce the impact of stored XSS payloads.
  • Enforce a web application firewall rule that blocks title_tag values containing characters outside an HTML tag allow-list.
bash
# Configuration example: enumerate posts containing suspicious title_tag values
wp db query "SELECT ID, post_title FROM wp_posts \
  WHERE post_content LIKE '%title_tag%' \
  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.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWordpress

  • SeverityMEDIUM

  • CVSS Score6.4

  • 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 Change Log

  • WordPress Plugin Change Log

  • Wordfence Vulnerability Report
  • Related CVEs
  • CVE-2026-6174: CC Child Pages WordPress Plugin XSS Flaw

  • CVE-2026-6252: Meta Field Block WordPress Plugin XSS Flaw

  • CVE-2026-3694: Bold Page Builder WordPress XSS Vulnerability

  • CVE-2026-6417: GLS Shipping WooCommerce 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