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)
- Affected
- all versions before 6.9.3
- Remediation
- Update to 6.9.3 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- Weakness
- CWE-74
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-22
- Attack surface
- Block Editor Bootstrap Blocks on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS