bSlider – Build Sliders That Bring Your Content to Life <= 2.2.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Slider Data Attributes

Medium 6.4 CWE-79Fixed in 2.3.0
ID
WPSEC-2026-3525
Plugin
bSlider – Build Sliders That Bring Your Content to Life (b-slider)
Affected
all versions before 2.3.0
Remediation
Update to 2.3.0 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 Low · Affected versions Low among sites WPSec scans, 2026-11-19
Attack surface
bSlider – Build Sliders That Bring Your Content to Life on WPSec AttackSurface
Fix released
Published

Description

The bSlider – Build Sliders That Bring Your Content to Life plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the slider's data-attributes and data-attributes-b64 HTML attributes in all versions up to, and including, 2.2.6. The cause is that the front-end slider script loads its settings from any element with the wp-block-bsb-slider class and renders slide titles, descriptions and Gutenberg Blocks slide HTML from those settings as raw HTML. The server-side sanitization in the block's render callback is skipped this way. Users without the unfiltered_html capability can put such an element in post content, because WordPress keeps data-* attributes and the class attribute on div elements. 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

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