Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2026-112111

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-112111
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:31 UTC · Revision 1

Source evidence

CVE-2026-112111

core-osv · Original source

Published 18 Oct 2026, 22:39 UTC

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.

osv:CVE-2026-112111
Complete source record
{
  "id": "a6072173f4b3e5ecf8cf5853b8801e68b957bf97a296742d6bf6c9a7d78b4d4b",
  "url": "https://osv.dev/vulnerability/CVE-2026-112111",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-112111",
    "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 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.",
    "evidence": "osv:CVE-2026-112111",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-112111",
      "aliases": [
        "CVE-2026-112111"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/thewebshop/bootstrap-shortcodes",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4a8875e2b720d7fee6dfed427297e200eaf45f55"
                },
                {
                  "fixed": "c26659ccb6ddb871c7dee1b77cb81cad63e7a75b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.4.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c26659ccb6ddb871c7dee1b77cb81cad63e7a75b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4a8875e2b720d7fee6dfed427297e200eaf45f55"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.4.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4.4",
            "3.4.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112111.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.414933737Z",
      "provider": "osv",
      "references": [
        "https://github.com/TheWebShop/bootstrap-shortcodes/releases/tag/3.4.6",
        "https://wordpress.org/plugins",
        "https://wordpress.org/plugins/bootstrap-shortcodes/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112111.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-112111",
        "https://wordpress.org/plugins/bootstrap-shortcodes/#developers",
        "https://github.com/TheWebShop/bootstrap-shortcodes/commit/c26659ccb6ddb871c7dee1b77cb81cad63e7a75b",
        "https://github.com/TheWebShop/bootstrap-shortcodes",
        "https://plugins.trac.wordpress.org/browser/bootstrap-shortcodes/tags/3.4.4/inc/bs_tabs.php#L84"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112111.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-112111",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521370,
  "published_at": "2026-10-18T22:39:46.933+00:00"
}