# Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons <= 4.7.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via UIkit Component Attributes

- **ID:** WPSEC-2026-0800
- **Plugin:** Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons (`bdthemes-prime-slider-lite`), https://wordpress.org/plugins/bdthemes-prime-slider-lite/
- **Affected versions:** all versions before 4.7.1
- **Fixed in:** 4.7.1 (Update to 4.7.1 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-10-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bdthemes-prime-slider-lite
- **Fix released:** 2026-10-11
- **Published:** 2026-10-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0800/

## Description

The Prime Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via UIkit component attributes (such as 'data-bdt-svg' and 'data-bdt-lightbox-panel') in Elementor, post and comment content in all versions up to, and including, 4.7.0. This is due to an incomplete fix for an earlier issue. The server-side content guard's regular expression only removed 'bdt-*' and 'data-bdt-*' attributes that were preceded by whitespace, so an attribute separated from the previous one by a slash survived and was then normalised into a working attribute. In addition, the bundled UIkit's client-side fragment sanitizer did not remove control characters before checking URL schemes and did not block elements such as iframe, so markup in a component option could still carry script URLs. 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-0800/
- https://plugins.svn.wordpress.org/bdthemes-prime-slider-lite/tags/4.7.1/
- https://wordpress.org/plugins/bdthemes-prime-slider-lite/

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

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.
