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.
Published: 2026-10-18
Score: 5.1 Medium
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

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 yet.

History

Mon, 19 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Title Stored XSS via unquoted id attribute in Bootstrap Shortcodes [bs_tcontent]

Sun, 18 Oct 2026 23:00:00 +0000

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'}


Subscriptions

Bootstrap Shortcodes Project Bootstrap Shortcodes
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-18T22:50:27.148Z

Reserved: 2026-10-18T22:39:46.301Z

Link: CVE-2026-112111

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T23:16:56.583

Modified: 2026-10-18T23:16:56.583

Link: CVE-2026-112111

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-19T00:30:06Z

Weaknesses