CVE-2026-142685 - Essential Widgets <= 3.2.1 - Unauthenticated Privilege Escalation via Account Takeover
Vulnerability · Reported by NVD · · CWE-269
- Severity
- Critical Risk score 98/100
- CVSS
- 9.8 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
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 val
How this vulnerability can be exploited
This is a improper privilege management flaw (CWE-269). An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Tags
priv-esc, CVE-2026-142685
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-142685 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.