---
id: CVE-2026-112111
title: >-
  The Bootstrap Shortcodes plugin for WordPress before 3.4.6 is vulnerable to
  stored XSS via the id attribute of the [bs_tcontent] shortcode
summary: >-
  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 unquo…
severity: medium
cvss: 5.1
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-79
vendor: Bootstrap Shortcodes project
product: bootstrap-shortcodes
affected:
  - bootstrap-shortcodes < 3.4.6
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-19T16:20:27.998417Z'
published: '2026-10-18'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T16:20:39.966Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112111'
references:
  - url: >-
      https://github.com/TheWebShop/bootstrap-shortcodes/commit/c26659ccb6ddb871c7dee1b77cb81cad63e7a75b
  - url: 'https://wordpress.org/plugins/bootstrap-shortcodes/#developers'
  - url: 'https://github.com/TheWebShop/bootstrap-shortcodes/releases/tag/3.4.6'
  - url: >-
      https://plugins.trac.wordpress.org/browser/bootstrap-shortcodes/tags/3.4.4/inc/bs_tabs.php#L84
  - url: 'https://wordpress.org/plugins/bootstrap-shortcodes/'
tags:
  - cve.org
epss: 0.00299
epssPercentile: 0.21204
ingestedAt: '2026-10-18T22:52:16.636Z'
---

## Overview

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.

## Affected

- `bootstrap-shortcodes < 3.4.6`

## Remediation

Update the Bootstrap Shortcodes plugin to version 3.4.6 or later.

### Workarounds

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