Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons <= 4.7.2 - Unauthenticated Stored Cross-Site Scripting via Comment Content

High 7.2 CWE-79Fixed in 4.7.3
ID
WPSEC-2026-1240
Plugin
Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons (bdthemes-prime-slider-lite)
Affected
from 4.7.0 before 4.7.3
Remediation
Update to 4.7.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-10-19
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 comment content and other user-authored content in versions 4.7.0 up to, and including, 4.7.2. The cause is a flawed regular-expression fallback in the plugin's content sanitizer (Content_Guard), which removes UIkit 'bdt-' component attributes after WordPress's kses filtering. The fallback also matched 'bdt-' text inside quoted attribute values and removed it along with a quote character. The remaining markup then turned into new, live attributes such as event handlers. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

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

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

License: CC BY 4.0