Skip to main content

Elementor Website Builder EUVDEUVD-2026-26479

| CVE-2026-6127 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-01 Wordfence
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain contributor credentials
  2. Delivery
    Craft form-encoded PATCH request
  3. Exploit
    Send to REST API post meta endpoint
  4. Install
    Bypass json_decode() sanitization
  5. C2
    Store malicious _elementor_data
  6. Execute
    Page visitor accesses post
  7. Impact
    Unescaped output renders JavaScript
  8. Step 8
    User 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Elementor Website Builder – More than Just a Page Builder 0 ≤4.0.4

Affected Packages

euvd elementor_website_builder_more_than_just_a_page_builder no fix

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

NVD PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy