Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 82%

CVE-2026-6127: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in elemntor Elementor Website Builder – more than just a page builder

0
Medium
VulnerabilityCVE-2026-6127cvecve-2026-6127cwe-79
Published: Fri May 01 2026 (05/01/2026, 05:29:53 UTC)
Source: CVE Database V5
Vendor/Project: elemntor
Product: Elementor Website Builder – more than just a page builder

Description

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.

CVSS v3.1

Score 6.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 06:06:32 UTC

Technical Analysis

The Elementor Website Builder plugin improperly neutralizes input during web page generation, specifically in the _elementor_data meta field. This occurs because the plugin registers this meta field with show_in_rest but does not specify a sanitize_callback, relying instead on a rest_pre_insert_post filter that only sanitizes JSON-encoded request bodies. When a contributor sends a form-encoded PATCH request, json_decode() fails, causing sanitization to be skipped. Unsanitized data is stored via update_post_meta() and later output without escaping in multiple widget sinks, including the HTML widget's print_unescaped_setting() function. This allows authenticated contributors or higher to inject stored XSS payloads that execute in users' browsers when viewing the affected pages.

Potential Impact

An attacker with contributor-level or higher privileges can inject malicious JavaScript into pages via the REST API, which is then stored and executed in the context of any user viewing those pages. This can lead to theft of user credentials, session hijacking, or other malicious actions performed in the victim's browser. The vulnerability does not affect availability and requires authentication, limiting its scope. No known active exploitation has been reported.

Mitigation Recommendations

No official patch or remediation is currently available. Users should monitor the vendor's advisory channels for updates. Until a fix is released, restrict contributor-level access to trusted users only and consider disabling or limiting REST API access if feasible. Review and sanitize any user-generated content manually where possible. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2026-04-12T03:00:21.594Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f43f5bcbff5d86106a077e

Added to database: 5/1/2026, 5:51:23 AM

Last enriched: 5/1/2026, 6:06:32 AM

Last updated: 6/15/2026, 10:31:09 AM

Views: 86

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses