# Element Pack Addons for Elementor – MCP & AI-Ready Elementor Widgets, Elementor Templates, Elementor Addons <= 10.0.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Cookie Consent Widget 'position' Setting

- **ID:** WPSEC-2026-2856
- **Plugin:** Element Pack Addons for Elementor – MCP & AI-Ready Elementor Widgets, Elementor Templates, Elementor Addons (`bdthemes-element-pack-lite`), https://wordpress.org/plugins/bdthemes-element-pack-lite/
- **Affected versions:** all versions before 10.0.5
- **Fixed in:** 10.0.5 (Update to 10.0.5 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bdthemes-element-pack-lite
- **Fix released:** 2026-11-10
- **Published:** 2026-11-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2856/

## Description

The Element Pack Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Cookie Consent widget's 'position' setting in all versions up to, and including, 10.0.4, due to insufficient input validation: the saved position value is passed unchecked into the widget's data-settings, and the bundled cookieconsent library builds the banner's class attribute from it and inserts the markup with innerHTML. This makes it possible for authenticated attackers, with contributor-level access and above who can edit with Elementor, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-2856/
- https://plugins.svn.wordpress.org/bdthemes-element-pack-lite/tags/10.0.5/
- https://wordpress.org/plugins/bdthemes-element-pack-lite/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2856/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
