# better-block-editor <= 1.8.1 - Missing Authorization to Authenticated (Subscriber+) Theme Activation

- **ID:** WPSEC-2026-3004
- **Plugin:** better-block-editor (`better-block-editor`), https://wordpress.org/plugins/better-block-editor/
- **Affected versions:** all versions before 1.8.2
- **Fixed in:** 1.8.2 (Update to 1.8.2 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/better-block-editor
- **Fix released:** 2026-11-11
- **Published:** 2026-11-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3004/

## Description

The better-block-editor plugin for WordPress is vulnerable to unauthorized modification of data via the 'wpbbe_install_bb_theme' AJAX action in all versions up to, and including, 1.8.1, due to a missing capability check and missing nonce verification in the ThemeInstallAjaxHandler::install_theme() function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to switch the site's active theme to Better Block Theme when that theme is installed but not active.

## References

- https://wpsec.com/vuln/WPSEC-2026-3004/
- https://plugins.svn.wordpress.org/better-block-editor/tags/1.8.2/
- https://wordpress.org/plugins/better-block-editor/

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

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.
