# Prime Slider – Addons For Elementor <= 4.6.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via UIkit Component Attributes

- **ID:** WPSEC-2026-0489
- **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.0
- **Fixed in:** 4.7.0 (Update to 4.7.0 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-07)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bdthemes-prime-slider-lite
- **Fix released:** 2026-10-06
- **Published:** 2026-10-07
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0489/

## 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 post content in all versions up to, and including, 4.6.2. This is due to insufficient input sanitization: WordPress's post content filtering lets these data attributes through, and the bundled UIkit script boots a component from any element carrying them without validating the component options. 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, such as an administrator previewing the post, accesses a page that loads the Prime Slider script bundle, for example a page containing a Prime Slider widget.

## References

- https://wpsec.com/vuln/WPSEC-2026-0489/
- https://plugins.svn.wordpress.org/bdthemes-prime-slider-lite/tags/4.7.0/
- https://wordpress.org/plugins/bdthemes-prime-slider-lite/

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

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.
