Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-11895 Overview
CVE-2026-11895 is a Stored Cross-Site Scripting (XSS) vulnerability in the HT Mega Addons for Elementor – Elementor Widgets & Template Builder plugin for WordPress. The flaw affects all plugin versions up to and including 3.1.1. It resides in the Data Table widget's display_options setting, where the plugin fails to properly sanitize input and escape output. Authenticated attackers with contributor-level access or above can inject arbitrary web scripts into pages. The injected scripts execute in the browsers of any users who view the affected pages, enabling session theft, redirection, and content manipulation.
Critical Impact
Contributor-level accounts can persist JavaScript payloads that execute against every visitor of the affected page, including administrators.
Affected Products
- HT Mega Addons for Elementor – Elementor Widgets & Template Builder plugin for WordPress
- All versions up to and including 3.1.1
- WordPress sites running the plugin with contributor-or-higher user registration
Discovery Timeline
- 2026-09-30 - CVE-2026-11895 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-11895
Vulnerability Analysis
The vulnerability is a Stored Cross-Site Scripting flaw classified under [CWE-79]. It exists in the Data Table widget shipped with HT Mega Addons for Elementor. The display_options setting accepts attacker-controlled input that is later rendered into page output without adequate escaping. Because the payload is stored in the WordPress database and rendered on every page load, the exploitation surface extends to any user who visits the injected page.
Exploitation requires an authenticated account at the contributor role or higher. WordPress contributors can create and edit their own posts, giving them access to the Elementor editor and the vulnerable widget. The attack is network-based and requires no user interaction beyond viewing the affected content.
Root Cause
The plugin does not apply sufficient input sanitization when saving the Data Table widget's display_options value. It also fails to apply appropriate output escaping when rendering the value into the page HTML. This dual failure allows raw HTML and JavaScript to persist and execute in the browser context of visitors.
Attack Vector
An authenticated contributor edits a page or post using the Elementor builder and inserts a Data Table widget. The attacker supplies a malicious payload in the display_options field. When the page is published or previewed, the payload is stored in the database. Any subsequent visitor, including administrators reviewing pending content, triggers execution of the injected script in their browser session.
No verified public exploit code is available. See the Wordfence Vulnerability Report for additional technical context.
Detection Methods for CVE-2026-11895
Indicators of Compromise
- Unexpected <script>, onerror=, or onload= strings persisted within Elementor widget metadata for Data Table elements
- Contributor or author accounts editing pages that contain the HT Mega Data Table widget outside of their normal activity
- Outbound requests from administrator browsers to unfamiliar domains after viewing pages built with the plugin
Detection Strategies
- Query the wp_postmeta table for _elementor_data entries containing HTML event handlers or script tags associated with htmega_data_table widgets
- Review WordPress audit logs for post revisions authored by contributor-level users that add or modify Data Table widgets
- Inspect Content Security Policy (CSP) violation reports for inline script execution on pages using the plugin
Monitoring Recommendations
- Enable a Web Application Firewall (WAF) with rules covering stored XSS payloads targeting WordPress plugins
- Monitor administrative sessions for unexpected privilege changes, new admin user creation, or plugin installation shortly after viewing contributor-authored content
- Alert on modifications to plugin files and Elementor widget metadata via file integrity monitoring
How to Mitigate CVE-2026-11895
Immediate Actions Required
- Update the HT Mega Addons for Elementor plugin to a version later than 3.1.1 as soon as the vendor publishes a fixed release
- Audit all contributor, author, and editor accounts and remove any that are not required
- Review recent Data Table widget content for injected scripts and purge malicious entries from wp_postmeta
Patch Information
The upstream code change is available in the WordPress Plugin Changeset 3583980. Site administrators should apply the corresponding plugin update through the WordPress dashboard once released and confirm the installed version is above 3.1.1.
Workarounds
- Deactivate the HT Mega Addons for Elementor plugin until an update is applied
- Restrict contributor and author role assignments to trusted users only, and disable open user registration
- Deploy a WAF rule set that blocks script tags and JavaScript event handlers submitted through Elementor widget parameters
- Enforce a strict Content Security Policy that disallows inline scripts on public pages
# Verify installed plugin version using WP-CLI
wp plugin get ht-mega-for-elementor --field=version
# Deactivate the plugin as a temporary mitigation
wp plugin deactivate ht-mega-for-elementor
# Search post meta for suspicious script payloads in Data Table widgets
wp db query "SELECT post_id, meta_key FROM wp_postmeta \
WHERE meta_key = '_elementor_data' \
AND (meta_value LIKE '%<script%' OR meta_value LIKE '%onerror=%');"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

