# Block Editor Bootstrap Blocks <= 6.9.2 - Authenticated (Contributor+) CSS Injection via Block Attributes

- **ID:** WPSEC-2026-3711
- **Plugin:** Block Editor Bootstrap Blocks (`block-editor-bootstrap-blocks`), https://wordpress.org/plugins/block-editor-bootstrap-blocks/
- **Affected versions:** all versions before 6.9.3
- **Fixed in:** 6.9.3 (Update to 6.9.3 or later.)
- **Severity:** Medium 4.6 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N)
- **Weakness:** CWE-74
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-22)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/block-editor-bootstrap-blocks
- **Fix released:** 2026-11-21
- **Published:** 2026-11-22
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3711/

## Description

The Block Editor Bootstrap Blocks plugin for WordPress is vulnerable to CSS Injection via block attributes (spacing, flex, grid, position and size values, and the tempID used in the generated selector) in all versions up to, and including, 6.9.2. This is due to insufficient validation of these values before they are concatenated into the per-block stylesheet printed on the front end. Only HTML escaping was applied, and it does not neutralise CSS syntax such as braces and semicolons. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary CSS rules that apply to the whole page wherever the block is rendered. Those rules can alter or hide page content and can be used for CSS-based data exfiltration.

## References

- https://wpsec.com/vuln/WPSEC-2026-3711/
- https://plugins.svn.wordpress.org/block-editor-bootstrap-blocks/tags/6.9.3/
- https://wordpress.org/plugins/block-editor-bootstrap-blocks/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3711/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
