- wordpress
- essential-widgets
- catchthemes
- auth-bypass
- privilege-escalation
- cve-2026-142685
news
Essential Widgets WordPress Plugin: Tag Cloud Callback Lets Unauthenticated Attackers Log In as Admin (CVE-2026-142685)
Critical 9.8Essential Widgets for WordPress up to 3.2.1 passes an attacker-supplied tag cloud callback into wp_tag_cloud(), which Wordfence says lets an unauthenticated attacker call wp_set_auth_cookie for the admin user ID. CVE-2026-142685, CVSS 3.1 9.8 (Wordfence). About 10,000 active installs. Fixed in 3.2.2. No public PoC and no reported exploitation. Not in CISA KEV.
- Record
- CVE-2026-142685
- Score
- Critical 9.8
- Status
- Not KEVChecked, not listed
- Organization
- Wordfence
Summary
Sites running the Essential Widgets plugin by Catch Themes at version 3.2.1 or older should update to 3.2.2. CVE-2026-142685 (CVSS 3.1 9.8 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) lets the tag cloud shortcode hand any PHP function name to WordPress core as a callback. Wordfence, the CNA, says an unauthenticated attacker can use wp_set_auth_cookie to get valid login cookies for an existing administrator. Wordfence published it on 4 December 2026; the plugin fix shipped on 3 December 2026. The plugin reports about 10,000 active installs on wordpress.org.
Status: Disclosed. Not in CISA KEV catalog 2026.12.04, checked against the KEV JSON feed on 5 December 2026.
Vulnerability details
| CVE | Component and mechanism | Severity | Affected | Fixed in |
|---|---|---|---|---|
| CVE-2026-142685 | ew_tags_render_shortcode() in includes/ew-block/blocks/ew-tags/index.php copies the topic_count_scale_callback shortcode attribute into the wp_tag_cloud() arguments with no allowlist; core then runs call_user_func() on it with a term's post count (CWE-269) | CVSS 3.1 9.8 Critical | all versions up to 3.2.1 | 3.2.2 |
- How it lands, per Wordfence: the attacker sets the callback to
wp_set_auth_cookieand arranges a taxonomy term whose post count equals the target user ID (1 for the default admin). WordPress then mints auth cookies for that account. It takes over an existing admin; it does not promote the attacker's own account. - The widget's own
update()method already validated these callbacks. The shortcode path skipped that check. - The fix: 3.2.2 routes both
topic_count_text_callbackandtopic_count_scale_callbackthrough a newew_sanitize_widget_callback()allowlist, and the changelog says the Tags and Navigation Menu blocks and widgets now only accept their known callbacks. - Scoring note: the 9.8 comes from Wordfence. NVD lists the record as Deferred.
- Credit: CHOIGYEONGMIN, per Wordfence.
Exploitation status
- Public PoC: none found.
- In the wild: no reports.
- KEV: not listed in catalog
2026.12.04(1,814 entries). - Confidence: High. The Wordfence record, the plugin changelog and the code diff between 3.2.1 and 3.2.2 agree.
Operator actions
- Update Essential Widgets to
3.2.2from Plugins in wp-admin, orwp plugin update essential-widgetswith WP-CLI. - Check the installed version:
wp plugin get essential-widgets --field=version. - If you cannot update, deactivate the plugin until you can.
- Compromise check: review active admin sessions (
wp user session list 1and for other admins), and look for admin logins from unknown IPs, new admin users, and plugins or theme edits you cannot account for.
Sources
- Wordfence: Essential Widgets <= 3.2.1 unauthenticated privilege escalation via account takeover
- CVE record: CVE-2026-142685 (MITRE)
- NVD: CVE-2026-142685
- Essential Widgets on wordpress.org (changelog for 3.2.2)
- Vulnerable code in 3.2.1: ew-tags/index.php
- CISA Known Exploited Vulnerabilities JSON feed