CVE-2026-144185: WEN Logo Slider before 3.8 Stored XSS via Slider Settings
WEN Logo Slider before version 3.8 contains a stored cross-site scripting vulnerability that allows authenticated attackers with Contributor-level privileges or higher to inject malicious JavaScript by submitting crafted values such as imagesperslide, responsive breakpoint settings, or headingsize that are stored raw via the savesettingsmetabox function and later echoed with escattr() into an inline script JavaScript object literal and an HTML tag-name position in class-wen-logo-slider-shortcode.php. Attackers can craft payloads like "5,x:alert(document.domain)" that bypass the minimal intval() range check to achieve automatic JavaScript execution for any visitor viewing a page that renders the [WLS id=X] shortcode.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.8
Event History
Frequently Asked Questions
Who can exploit this issue and who is exposed to the injected script?
An authenticated user with Contributor-level privileges or higher can submit the malicious slider settings. The stored script executes automatically in the browser of any visitor who views a page rendering the affected [WLS id=X] shortcode.
Which settings are relevant to exploitation?
Affected inputs include images_per_slide, responsive breakpoint settings, and heading_size. Crafted values are stored through save_settings_meta_box and later placed into an inline JavaScript object literal and an HTML tag-name position.
Is user interaction required for exploitation?
The attacker must be authenticated and able to modify slider settings. Visitors do not need to interact with the page beyond viewing a page that renders the affected shortcode; the injected JavaScript executes automatically.
What can be done if updating is not immediately possible?
Restrict Contributor-level and higher access to trusted users, and prevent untrusted users from editing WEN Logo Slider settings. Review affected slider settings for unexpected crafted values, especially in images_per_slide, responsive breakpoint settings, and heading_size, and remove or recreate suspicious entries.