{
 "id": "WPSEC-2026-3004",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3004/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3004/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3004/index.md",
 "title": "better-block-editor <= 1.8.1 - Missing Authorization to Authenticated (Subscriber+) Theme Activation",
 "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.",
 "plugin": {
  "slug": "better-block-editor",
  "name": "better-block-editor",
  "full_name": "better-block-editor",
  "wordpress_org": "https://wordpress.org/plugins/better-block-editor/",
  "advisories_url": "https://wpsec.com/vuln/plugin/better-block-editor/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/better-block-editor"
 },
 "type": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.8.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.8.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.8.2",
 "remediation": "Update to 1.8.2 or later.",
 "fix_released": "2026-11-11T19:27:19+00:00",
 "published": "2026-11-12T19:42:40+00:00",
 "updated": "2026-11-12T17:09:22.859057+00:00",
 "also_published_as": null,
 "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/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/better-block-editor",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-12"
 }
}