Bootstrap Shortcodes <= 3.4.4 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via Bundled Bootstrap Library Data Attributes

Medium 6.4 CWE-79Fixed in 3.4.6
ID
WPSEC-2026-1262
Plugin
Bootstrap Shortcodes (bootstrap-shortcodes)
Affected
all versions before 3.4.6
Remediation
Update to 3.4.6 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-20
Attack surface
Bootstrap Shortcodes on WPSec AttackSurface
Fix released
Published

Description

The Bootstrap Shortcodes plugin for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting in all versions up to, and including, 3.4.4 due to bundling an outdated version of the Bootstrap JavaScript library (3.3.5) that passes data-target, data-parent and data-container attribute values to jQuery as HTML and does not sanitize tooltip and popover templates. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts through crafted data-* attributes in post content that will execute whenever a user accesses an injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0