CVE-2026-142685
9.8, criticalCatchthemes Essential Widgets Improper Privilege Management Vulnerability
- CVSS
- 9.8, critical critical CVSS v3.1
- EPSS, next 30 days
- n/a
- Exploitation
- No public evidence
- Published
- 5 Dec 2026yesterday
Description
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.
Details
- Vendor
- Catchthemes
- Product
- Essential Widgets
- Weakness
- CWE-269 (opens in a new tab)
- Status
- Deferred
- Updated
- 5 Dec 2026
- Assigner
- security@wordfence.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References 7
Other references 7
- plugins.trac.wordpress.org /browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L120 (opens in a new tab)
- plugins.trac.wordpress.org /browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L121 (opens in a new tab)
- plugins.trac.wordpress.org /browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L146 (opens in a new tab)
- plugins.trac.wordpress.org /browser/essential-widgets/tags/3.2.1/includes/widgets/class-ew-tags.php#L419 (opens in a new tab)
- plugins.trac.wordpress.org /changeset/3842053/essential-widgets/trunk/includes/ew-block/blocks/ew-tags/index.php (opens in a new tab)
- wordpress.org /plugins/essential-widgets/ (opens in a new tab)
- wordfence.com /threat-intel/vulnerabilities/id/f0b55cf5-1749-46c6-803c-de9e3a5815cf?source=cve (opens in a new tab)
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Beyond this page
Is CVE-2026-142685 in your network?
This page tells you how dangerous CVE-2026-142685 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-142685 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 6 Dec 2026, not the live upstream state.