CVE-2026-111111: Prime Slider <= 4.7.2 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Content_Guard Regex Quote-Escape
The Prime Slider – Hero Slider, Carousel, WooCommerce & Post Slider Elementor Addons plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.7.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is possible because core wpfilterkses leaves the submitted markup inert, but the plugin's subsequent regex fallback consumes closing quotes of allowed attribute values containing 'bdt-', promoting previously inert bytes — such as event handlers like onfocus — into real HTML attributes that are then written to the database and rendered without further sanitization.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An unauthenticated attacker can exploit it remotely. No account, privileges, or user interaction are required to submit the malicious comment content.
What must happen for the injected script to run?
The attacker must submit crafted content through the comment parameter. The stored script executes when a user accesses a page where that injected content is rendered.
Are installations running the default plugin behavior affected?
The issue is caused by the plugin's Content_Guard regex fallback after WordPress core wp_filter_kses processing. The provided data does not identify a configuration change or optional feature that must be enabled, and describes all versions through 4.7.2 as affected.
How can I determine whether an installation may be vulnerable?
Check whether the site uses BDThemes Prime Slider and whether its installed version is 4.7.2 or earlier. Review stored comment content and rendered pages for unexpected HTML attributes or script-like payloads, particularly attributes promoted after values containing "bdt-".