Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2026-142685: Essential Widgets 3.2.1 allows attackers to hijack admin accounts

CVE-2026-142685 · published today
Summary

The Essential Widgets plugin for WordPress up to version 3.2.1 lets anyone on the internet create a special tag that runs a WordPress function to set a login cookie. By doing this, an attacker can log in as the site’s administrator without knowing a password. Update the plugin to a newer version or remove it if it is not needed.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
catchthemes essential widgets <= 3.2.1
Original advisory text
Essential Widgets <= 3.2.1 - Unauthenticated Privilege Escalation via Account Takeover
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.8 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-269Improper Privilege Management
Timeline
Published5 Dec 2026
Updated5 Dec 2026
First seen5 Dec 2026
Sources
CVE-2026-142685 · MITRE
Track software like this
Free during beta