CVE-2026-112111 PUBLISHED

Assigner: mitre
Reserved: 18.10.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Metrics

CVSS 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
CVSS Score: 5.1

Product Status

Vendor Bootstrap Shortcodes project
Product Bootstrap Shortcodes
Versions Default: unaffected
  • affected from 0 to 3.4.6 (excl.)

Affected Configurations

The attacker needs a WordPress account with the Contributor role or higher on a site with the plugin active. Contributor-authored content is executed once an Editor or Administrator publishes it.

Workarounds

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

Solutions

Update the Bootstrap Shortcodes plugin to version 3.4.6 or later.

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE