{
 "id": "WPSEC-2026-4593",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4593/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4593/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4593/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4593.json",
 "title": "Essential Widgets <= 3.2.1 - Authenticated (Contributor+) Privilege Escalation via Tags Block and Shortcode Callback Attributes",
 "description": "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.",
 "plugin": {
  "slug": "essential-widgets",
  "name": "Essential Widgets",
  "full_name": "Essential Widgets",
  "wordpress_org": "https://wordpress.org/plugins/essential-widgets/",
  "advisories_url": "https://wpsec.com/vuln/plugin/essential-widgets/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/essential-widgets"
 },
 "type": "PRIV",
 "cwe": [
  "CWE-94"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 8.8,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.8",
    "from_inclusive": true,
    "to": "3.2.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.8 before 3.2.2"
  ]
 },
 "introduced_in": "1.8",
 "fixed_in": "3.2.2",
 "remediation": "Update to 3.2.2 or later.",
 "fix_released": "2026-12-03T09:32:12+00:00",
 "published": "2026-12-04T09:47:12+00:00",
 "updated": "2026-12-03T12:34:17.657772+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4593/",
  "https://plugins.svn.wordpress.org/essential-widgets/tags/3.2.2/",
  "https://wordpress.org/plugins/essential-widgets/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/essential-widgets",
 "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-12-04"
 }
}