# B Slider <= 2.2.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Slider Settings

- **ID:** WPSEC-2026-1698
- **Plugin:** bSlider – Build Sliders That Bring Your Content to Life (`b-slider`), https://wordpress.org/plugins/b-slider/
- **Affected versions:** all versions before 2.2.4
- **Fixed in:** 2.2.4 (Update to 2.2.4 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/b-slider
- **Fix released:** 2026-10-26
- **Published:** 2026-10-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1698/

## Description

The bSlider plugin for WordPress is vulnerable to Stored Cross-Site Scripting via slider block settings in all versions up to, and including, 2.2.2. The affected settings include the arrow size and color, the video and image lightbox URLs, the image caption and title, and the button text. The plugin does not sanitize or escape these values before the front-end script inserts them into HTML markup. 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.

## References

- https://wpsec.com/vuln/WPSEC-2026-1698/
- https://plugins.svn.wordpress.org/b-slider/tags/2.2.4/
- https://wordpress.org/plugins/b-slider/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1698/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
