# Element Pack Addons for Elementor – MCP & AI-Ready Elementor Widgets, Elementor Templates, Elementor Addons <= 10.0.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via UIkit Attribute Output Filter

- **ID:** WPSEC-2026-4104
- **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:** from 8.7.13 before 10.0.16
- **Fixed in:** 10.0.16 (Update to 10.0.16 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-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bdthemes-element-pack-lite
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4104/

## Description

The Element Pack Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via post content in versions 8.7.13 up to, and including, 10.0.15, due to the plugin's UIkit attribute filter (element_pack_sanitize_uikit_attributes), which runs on the_content, widget_text and excerpts, rewriting bdt-* / data-bdt-* attributes with a regular expression that ignores quotes. When the text of such an attribute sits inside another attribute's value, the match crosses the attribute boundary, and re-encoding it turns attribute text that kses had left harmless into a live event handler. 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.

## References

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

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

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.
