Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain contributor credentials
-
DeliveryCraft form-encoded PATCH request
-
ExploitSend to REST API post meta endpoint
-
InstallBypass json_decode() sanitization
-
C2Store malicious _elementor_data
-
ExecutePage visitor accesses post
-
ImpactUnescaped output renders JavaScript
-
Step 8User script executes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must possess WordPress user account with contributor role or above (contributor, author, editor, administrator). The WordPress REST API must be enabled (default configuration). The targeted post or page must have Elementor page builder enabled and contain at least one Elementor widget that renders output from the _elementor_data meta field. The attack uses form-encoded request bodies (application/x-www-form-urlencoded Content-Type) specifically because the sanitize_post_data filter only processes JSON-encoded bodies; this is the critical trigger condition. Sites that have disabled REST API entirely via code or plugin are not vulnerable. Sites that have restricted REST API access exclusively to authenticated users with permissions filtering may be partially protected depending on implementation, but contributor-level access is still sufficient to exploit. |
| Impact | The CVSS 6.4 score (AV:N/AC:L/PR:L/UI:N/S:C) indicates network-accessible, low-complexity attack requiring low privilege (contributor role) with scope change and partial confidentiality and integrity impact. The score reflects realistic risk: while requiring authentication, the attack requires no user interaction and affects scope beyond the vulnerable component. EPSS score is not provided in the intelligence data. Exploitation probability is high given: (1) Contributors are common on WordPress sites (authors, editors can reach this level), (2) the exploit is straightforward-form-encoded REST requests are trivial to craft, (3) no special configuration is needed beyond default WordPress setup with REST API enabled, and (4) the vulnerability chains unavoidable rendering logic (pages must be viewed). However, real-world impact is constrained to sites where attackers can obtain contributor credentials or where contributor accounts are compromised. The attack does NOT require administrator access, making it significantly more exploitable than admin-only vulnerabilities. No KEV status or POC availability is indicated in the provided data. The vulnerability is reliably reproducible and affects all installations running vulnerable versions with REST API enabled (default configuration). |
| Exploit ScenarioDerived | An attacker with contributor-level WordPress credentials (obtained via password reuse, phishing, or account compromise) crafts a form-encoded HTTP PATCH request to the WordPress REST API targeting the _elementor_data meta field of a published post. The attacker includes a payload such as form data with _elementor_data containing JavaScript tags (e.g., embedded <script> or event handlers). The plugin fails to sanitize this non-JSON request format, stores the malicious payload in post metadata, and renders it unescaped when the post is viewed by any site visitor, executing the injected script in their browser context with access to session cookies and site data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 01, 2026
Stored cross-site scripting in Elementor Website Builder plugin for WordPress up to version 4.0.4 allows authenticated contributors to inject arbitrary JavaScript via form-encoded REST API requests to the _elementor_data meta field. The vulnerability bypasses sanitization by exploiting a json_decode() failure on non-JSON request bodies, causing unsanitized data to be stored and later output without escaping in widget rendering functions. Contributors and above can inject malicious scripts that execute for all users viewing affected pages, compromising site integrity and user sessions.
RemediationAI
Update Elementor Website Builder to version 4.0.5 or later, which includes a fix implementing proper sanitize_callback on the _elementor_data meta field registration to validate form-encoded requests. For sites unable to immediately upgrade, implement the following compensating controls: restrict REST API access to authenticated users only via security plugin rules or .htaccess, limit contributor role capabilities to remove post editing permissions until patching is complete, disable WordPress REST API entirely if not required for site functionality (via Disable REST API plugin or wp-config.php constant), or use a Web Application Firewall (WAF) rule to block form-encoded PATCH requests to wp-json/wp/v2/posts endpoints. Note that disabling REST API may break Elementor frontend editing and Gutenberg functionality. The most reliable mitigation is prompt patching to 4.0.5+. Verify patch installation by checking plugin version in WordPress admin dashboard and inspecting elementor-post-meta.php for the presence of sanitize_callback parameter.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Elementor registers the _elementor_data post meta field with show_in_rest enabled but omits a sanitize_callback parameter. The plugin instead relies on a rest_pre_insert_post filter using sanitize_post_data() that only sanitizes JSON-encoded request bodies by calling json_decode(). When an attacker submits a form-encoded (application/x-www-form-urlencoded) PATCH request to the WordPress REST API endpoint for post meta, the json_decode() function on the raw body returns null, causing the sanitization logic to be completely bypassed. The unsanitized payload is then persisted via update_post_meta() as post metadata. During page rendering, multiple widget sinks output this data without HTML escaping, particularly through the HTML widget's print_unescaped_setting() function and other elementor/trunk/includes/base/widget-base.php sinks that fail to apply wp_kses_post() or equivalent output encoding. This is a classic stored XSS vulnerability (CWE-79: Cross-site Scripting) where insufficient input validation combines with missing output encoding.
Know when Elementor Website Builder More Than Just A Page Builder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The Elementor Website Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the _elementor_data meta field in versions up to, and including, 4.0.4. This is due to insufficient input sanitization when processing form-encoded REST API requests. The plugin registers the _elementor_data meta field with show_in_rest but omits a sanitize_callback, relying instead on a rest_pre_insert_post filter (sanitize_post_data function) that only sanitizes JSON-encoded request bodies. When a contributor sends a form-encoded PATCH request to the WordPress REST API, the json_decode() call on the raw body returns null, causing all sanitization to be skipped. The unsanitized data is then stored via update_post_meta() and later output without escaping through multiple widget sinks including the HTML widget's print_unescaped_setting() function. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Stored Cross-Site Scripting in Elementor Website Builder plugin for WordPress allows authenticated attackers with Contri
Sensitive information exposure in the Elementor Website Builder plugin for WordPress through version 4.2.3 lets any auth
The Elementor Website Builder plugin for WordPress contains an authorization bypass vulnerability in the is_allowed_to_r
EUVD-2026-26479
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB