CVE-2026-112111

Stored XSS via unquoted id attribute in Bootstrap Shortcodes [bs_tcontent]

Published Oct 18, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
The Bootstrap Shortcodes plugin for WordPress before 3.4.6 is vulnerable to stored XSS via the id attribute of the [bs_tcontent] shortcode. The bs_tcontent() shortcode handler in inc/bs_tabs.php emits the id attribute value into an unquoted HTML attribute. esc_attr() is applied, but it does not encode space characters, so a space in the supplied value terminates the attribute and any following text is parsed as additional HTML attributes, including JavaScript event handlers. This allows authenticated attackers with Contributor-level access and above to inject arbitrary web script that executes in the browser of any user who views the page and interacts with the injected element.

Remediation

Vendor Solution

Update the Bootstrap Shortcodes plugin to version 3.4.6 or later.


Vendor Workaround

Until updated, deactivate the plugin or do not allow untrusted Contributor/Author-level users to publish content containing the [bs_tcontent] shortcode.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions bootstrap Shortcodes
Vendors & Products Wordpress-extensions
Wordpress-extensions bootstrap Shortcodes
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Stored XSS via unquoted id attribute in Bootstrap Shortcodes [bs_tcontent]
Type Values Removed Values Added
Description The Bootstrap Shortcodes plugin for WordPress before 3.4.6 is vulnerable to stored XSS via the id attribute of the [bs_tcontent] shortcode. The bs_tcontent() shortcode handler in inc/bs_tabs.php emits the id attribute value into an unquoted HTML attribute. esc_attr() is applied, but it does not encode space characters, so a space in the supplied value terminates the attribute and any following text is parsed as additional HTML attributes, including JavaScript event handlers. This allows authenticated attackers with Contributor-level access and above to inject arbitrary web script that executes in the browser of any user who views the page and interacts with the injected element.
First Time appeared Bootstrap Shortcodes Project
Bootstrap Shortcodes Project bootstrap Shortcodes
Weaknesses CWE-79
CPEs cpe:2.3:a:bootstrap_shortcodes_project:bootstrap_shortcodes:*:*:*:*:*:*:*:*
Vendors & Products Bootstrap Shortcodes Project
Bootstrap Shortcodes Project bootstrap Shortcodes
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 19, 2026, 4:20 PM
Reserved
Oct 18, 2026, 10:39 PM
Status
Deferred
Published
Oct 18, 2026, 11:16 PM
Modified
Oct 19, 2026, 9:14 PM