Vulnerabilities / Bootstrap Shortcodes / WPSEC-2026-1261
Bootstrap Shortcodes <= 3.4.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'bs_tcontent' Shortcode 'id' Attribute
Medium 6.4
CWE-79Fixed in 3.4.6
- ID
- WPSEC-2026-1261
- Plugin
- Bootstrap Shortcodes (bootstrap-shortcodes)
- Affected
- all versions before 3.4.6
- Remediation
- Update to 3.4.6 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-10-20
- Attack surface
- Bootstrap Shortcodes on WPSec AttackSurface
- Fix released
- Published
Description
The Bootstrap Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'id' attribute of the bs_tcontent (tab pane) shortcode in all versions up to, and including, 3.4.4 due to the attribute value being output into an unquoted HTML attribute, where esc_attr() does not prevent spaces from introducing new attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts, such as event handlers, in pages that will execute whenever a user accesses an injected page.
References
- https://wpsec.com/vuln/WPSEC-2026-1261/
- https://plugins.svn.wordpress.org/bootstrap-shortcodes/tags/3.4.6/
- https://wordpress.org/plugins/bootstrap-shortcodes/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS