CVE-2026-6127
Last modified
CVE-2026-6127 is a medium-severity vulnerability rated 6.4/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-6127?
How severe is CVE-2026-6127?
How do I fix CVE-2026-6127?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-61262Vulnerability in the Oracle Teleservice product of Oracle E-…6.5
- CVE-2026-61263Vulnerability in the Oracle Scripting product of Oracle E-Bu…5.4
- CVE-2026-61264Vulnerability in the Oracle Call Center Technology product o…5.4
- CVE-2026-61266Vulnerability in the Oracle Supply Chain Globalization produ…6.3
- CVE-2026-61267Vulnerability in the Oracle HCM Configuration Workbench prod…7.3
- CVE-2026-61269Vulnerability in the Oracle Product Workbench product of Ora…6.3
- CVE-2026-61271Vulnerability in the Oracle Document Management and Collabor…7.3
- CVE-2026-61274Vulnerability in the Oracle Product Hub product of Oracle E-…6.3
- CVE-2026-61275Vulnerability in the Oracle Product Hub product of Oracle E-…6.3
- CVE-2026-61277Vulnerability in the Oracle Marketing product of Oracle E-Bu…6.3
- CVE-2026-61278Vulnerability in the Oracle Workflow product of Oracle E-Bus…6.3
- CVE-2026-61279Vulnerability in the Oracle Proposals product of Oracle E-Bu…6.3
Are you affected by CVE-2026-6127?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
