Skip to main content

CVE-2026-112111: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Bootstrap Shortcodes project Bootstrap Shortcodes

0
Medium
VulnerabilityCVE-2026-112111cvecve-2026-112111cwe-79
Published: 10/18/2026 (10/18/2026, 22:39:46 UTC)
Source: CVE Database V5
Vendor/Project: Bootstrap Shortcodes project
Product: Bootstrap Shortcodes

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.

CVSS v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
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 software

Bootstrap Shortcodes project

Bootstrap Shortcodes

Affected versions
>=0 <3.4.6
GitHub Actionsmore threats →cve
bootstrap-shortcodes
pkg:github/bootstrap-shortcodes
Affected versions
>=0 <3.4.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 23:03:18 UTC

Technical Analysis

CVE-2026-112111 describes a stored XSS vulnerability in the Bootstrap Shortcodes WordPress plugin prior to version 3.4.6. The bs_tcontent() shortcode handler in inc/bs_tabs.php outputs the id attribute value into an unquoted HTML attribute. Although esc_attr() is applied, it fails to encode space characters, which allows an attacker to terminate the attribute early and inject additional HTML attributes, including JavaScript event handlers. This enables authenticated attackers with Contributor-level or higher privileges to inject arbitrary scripts that execute in the context of users viewing the page.

Potential Impact

An attacker with Contributor-level or higher access can inject malicious JavaScript into pages using the vulnerable shortcode. This script executes in the browsers of users who view and interact with the injected element, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability requires authentication and user interaction, limiting its scope but still posing a risk to site visitors and administrators.

Mitigation Recommendations

A fixed version 3.4.6 or later of the Bootstrap Shortcodes plugin should be applied once available. Since no patch links are provided, users should monitor the vendor's official channels for the release of the fix. Until then, restrict Contributor-level access and above to trusted users only and avoid using the vulnerable shortcode with untrusted input. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-10-18T22:39:46.301Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad54cdf2cdf04f656a9cc11

Added to database: 10/18/2026, 22:49:03 UTC

Last enriched: 10/18/2026, 23:03:18 UTC

Last updated: 10/18/2026, 23:18:51 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses