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-2024-52387

CVE-2024-52387: Master Addons for Elementor XSS Flaw

CVE-2024-52387 is a stored cross-site scripting vulnerability in Master Addons for Elementor that enables attackers to inject malicious scripts. This article covers technical details, affected versions, and mitigation.

Published: February 27, 2026

CVE-2024-52387 Overview

CVE-2024-52387 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Master Addons for Elementor WordPress plugin. This vulnerability stems from improper neutralization of input during web page generation (CWE-79), allowing attackers to inject malicious scripts that persist in the application and execute whenever users access the affected pages.

The Master Addons for Elementor plugin extends the Elementor page builder with additional widgets and features. Due to insufficient input sanitization, attackers with contributor-level access or higher can inject arbitrary JavaScript code that gets stored and executed in victims' browsers when they view the compromised content.

Critical Impact

Attackers can execute arbitrary JavaScript in authenticated users' browsers, potentially stealing session cookies, performing actions on behalf of victims, defacing websites, or redirecting users to malicious sites.

Affected Products

  • Master Addons for Elementor plugin versions up to and including 2.0.9.9.4
  • WordPress installations using vulnerable versions of this plugin
  • Websites utilizing Elementor page builder with Master Addons extension

Discovery Timeline

  • 2026-02-20 - CVE CVE-2024-52387 published to NVD
  • 2026-02-20 - Last updated in NVD database

Technical Details for CVE-2024-52387

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability occurs when the Master Addons for Elementor plugin fails to properly sanitize user-supplied input before storing it in the database and rendering it on web pages. Unlike reflected XSS attacks, stored XSS persists within the application, meaning the malicious payload is permanently stored on the target server and delivered to users whenever they access the affected page or feature.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which describes conditions where user-controllable input is placed into output used as a web page without proper encoding or validation. In WordPress plugin contexts, this typically affects custom widget fields, shortcode attributes, or settings panels that accept user input.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and output encoding within the Master Addons for Elementor plugin. The plugin likely accepts user input through Elementor widget fields or custom elements without properly sanitizing special characters such as <, >, ", ', and &. When this unsanitized content is later rendered on the page, the browser interprets injected script tags as legitimate code rather than display text.

WordPress provides multiple sanitization functions like wp_kses(), esc_html(), esc_attr(), and sanitize_text_field() that should be applied to all user inputs. The absence or improper use of these functions allows attackers to bypass security controls and inject executable content.

Attack Vector

The attack requires an authenticated user with at least contributor-level privileges on the WordPress site. The attacker creates or edits a page or post using the Elementor editor and inserts a Master Addons widget. Within the vulnerable widget field, the attacker injects malicious JavaScript code disguised within HTML attributes or script tags.

When the page is published or previewed, any user visiting that page—including administrators—will have the malicious script execute in their browser context. This enables the attacker to steal authentication cookies, capture keystrokes, modify page content, or perform actions as the victim user. The persistent nature of this attack means it continues to affect users until the malicious content is discovered and removed.

Detection Methods for CVE-2024-52387

Indicators of Compromise

  • Unexpected JavaScript code or suspicious <script> tags within Elementor-generated page content
  • Unusual widget configurations in Master Addons elements containing encoded characters or script patterns
  • Browser console errors indicating blocked or executed inline scripts from page content
  • Reports of unexpected redirects, pop-ups, or behavior from site visitors

Detection Strategies

  • Review WordPress database (wp_postmeta table) for Elementor content containing suspicious script patterns or event handlers
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Monitor web application firewall (WAF) logs for XSS payload patterns in POST requests to admin-ajax.php or Elementor endpoints
  • Conduct regular security audits of Elementor-generated content using WordPress security scanning plugins

Monitoring Recommendations

  • Enable detailed logging for WordPress admin actions, particularly page and post modifications
  • Configure alerts for new or modified pages containing potential XSS patterns like javascript:, onerror=, onload=, or <script>
  • Monitor for privilege escalation attempts or suspicious admin account activity following page edits
  • Implement real-time monitoring for outbound connections to unknown external domains from the WordPress site

How to Mitigate CVE-2024-52387

Immediate Actions Required

  • Update Master Addons for Elementor plugin to the latest patched version immediately
  • Review all existing Elementor pages for signs of injected malicious scripts, particularly in Master Addons widgets
  • Audit user accounts with contributor access or higher and remove unnecessary privileges
  • Consider temporarily disabling the plugin until the update is applied if immediate patching is not possible

Patch Information

A security patch addressing this vulnerability has been released by the plugin developers. Refer to the Patchstack Vulnerability Advisory for detailed patch information and remediation guidance.

Update the plugin through the WordPress admin dashboard:

  1. Navigate to Plugins → Installed Plugins
  2. Locate Master Addons for Elementor
  3. Click "Update Now" if an update is available

Alternatively, download the latest version from the WordPress plugin repository and perform a manual update.

Workarounds

  • Restrict contributor and author-level access to trusted users only until the plugin is updated
  • Implement a Web Application Firewall (WAF) with XSS protection rules to filter malicious input
  • Configure Content Security Policy headers to prevent inline script execution: Content-Security-Policy: script-src 'self'
  • Use WordPress security plugins like Wordfence or Sucuri to monitor for and block XSS attempts
bash
# Add CSP header in .htaccess for Apache servers
Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://trusted-cdn.com; style-src 'self' 'unsafe-inline';"

# For Nginx, add to server block
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' https://trusted-cdn.com; style-src 'self' 'unsafe-inline';";

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMaster Addons

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.13%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Patchstack Vulnerability Advisory
  • Related CVEs
  • CVE-2026-32462: Master Addons for Elementor XSS Vulnerability

  • CVE-2024-35660: Master Addons Auth Bypass 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