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

Medium 6.4 CWE-79Fixed in 5.1.7
ID
WPSEC-2026-4145
Plugin
Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons (bdthemes-prime-slider-lite)
Affected
all versions before 5.1.7
Remediation
Update to 5.1.7 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-27
Attack surface
Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons on WPSec AttackSurface
Fix released
Published

Description

The Prime Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via UIkit component attributes and Elementor 'Custom Attributes' settings in all versions up to, and including, 5.1.6. This is due to the plugin's content guard removing only 'bdt-' and 'data-bdt-' attributes found in markup strings. It does not remove the UIkit 'attrs' / 'data-attrs' and 'sources' / 'data-sources' attributes, which the bundled UIkit lightbox applies as arbitrary attributes (event handlers included) to the elements it creates. It also does not clean Elementor 'Custom Attributes' key|value settings, which are printed as real attributes. This makes it possible for authenticated attackers, with Contributor-level access and above, to store attributes that boot bundled UIkit components and execute arbitrary web scripts when a user, such as an administrator, views the affected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0