{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4593",
 "modified": "2026-12-04T09:47:12Z",
 "published": "2026-12-04T09:47:12Z",
 "summary": "Essential Widgets <= 3.2.1 - Authenticated (Contributor+) Privilege Escalation via Tags Block and Shortcode Callback Attributes",
 "details": "The Essential Widgets plugin for WordPress is vulnerable to Privilege Escalation via the 'topic_count_text_callback' and 'topic_count_scale_callback' attributes of its Tags block and [ew-tags] shortcode in versions 1.8 up to, and including, 3.2.1. This is due to the attribute values being passed unfiltered to wp_tag_cloud(), which invokes them with call_user_func(). This makes it possible for authenticated attackers, with Contributor-level access and above, to call arbitrary PHP functions such as wp_set_auth_cookie when the block or shortcode is rendered, which can be used to authenticate as another user such as an administrator and escalate their privileges.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "essential-widgets"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "1.8"
      },
      {
       "fixed": "3.2.2"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 1.8 before 3.2.2"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4593/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/essential-widgets/tags/3.2.2/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/essential-widgets/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4593/",
  "cwe_ids": [
   "CWE-94"
  ],
  "vulnerability_type": "PRIV",
  "severity": "High",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
