CVE-2026-142685: Essential Widgets * Privilege Escalation

CVE-2026-142685

Wordfence

Vulnerability Summary

The Essential Widgets plugin for WordPress is vulnerable to Privilege Escalation via Administrator Account Takeover in all versions up to, and including, 3.2.1 This is due to the `ew_tags_render_shortcode()` function in `includes/ew-block/blocks/ew-tags/index.php` copying the attacker-supplied `topic_count_scale_callback` shortcode attribute directly into the argument array passed to `wp_tag_cloud()` without any `function_exists()`, `is_callable()`, or allowlist check — a validation step that is present in the widget's own `update()` method in `class-ew-tags.php` but was omitted from the shortcode handler. WordPress core's `wp_generate_tag_cloud()` then executes `call_user_func($args['topic_count_scale_callback'], $tag->count)`, invoking any named PHP function with a taxonomy term's post count as the first integer argument. This makes it possible for unauthenticated attackers to supply `topic_count_scale_callback=wp_set_auth_cookie` and arrange for a taxonomy term whose count matches a target user's ID — such as user ID 1 for the default administrator — causing WordPress to mint and set valid authentication cookies for that account, granting the attacker full administrative access. Successful exploitation gives the attacker control of a distinct, already-privileged Administrator account; it does not promote the attacker's original account.
Severity Level
CRITICAL(9.8)
Published Date
Dec 4, 2026
Last Modified
Dec 4, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Essential Widgets * - 3.2.1
Patched Versions
  • Essential Widgets 1

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run Essential Widgets * and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 4, 2026Published
  • Dec 4, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Essential Widgets * CVEsYou are reading CVE-2026-142685. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 4, 2026 23:01 UTC