Prime Slider <= 5.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Slider 'data-settings' Attribute
- ID
- WPSEC-2026-3345
- Plugin
- Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons (bdthemes-prime-slider-lite)
- Affected
- all versions before 5.1.3
- Remediation
- Update to 5.1.3 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-18
- Attack surface
- Prime Slider on WPSec AttackSurface
- Fix released
- Published
Description
The Prime Slider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data-settings' attribute read by the Fiestar, Elysium, Mercury, Omatic, Pacific, Rubix, Sniper, Storker, Tango and Vertex slider scripts in all versions up to, and including, 5.1.2. The cause is that the front-end scripts pass the JSON options from any matching slider markup on the page to the Swiper library without validating them, so options that Swiper turns into HTML, such as virtual slides, pagination elements or selector strings, are not checked. 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. They do this by adding post content that imitates one of these sliders on a page that loads the slider's script.
References
- https://wpsec.com/vuln/WPSEC-2026-3345/
- https://plugins.svn.wordpress.org/bdthemes-prime-slider-lite/tags/5.1.3/
- https://wordpress.org/plugins/bdthemes-prime-slider-lite/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS