← Signals

Dec 4, 2026

3 min

Wordfence

  • 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.8

Essential 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

CVEComponent and mechanismSeverityAffectedFixed in
CVE-2026-142685ew_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 Criticalall versions up to 3.2.13.2.2
  • How it lands, per Wordfence: the attacker sets the callback to wp_set_auth_cookie and 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_callback and topic_count_scale_callback through a new ew_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

  1. Update Essential Widgets to 3.2.2 from Plugins in wp-admin, or wp plugin update essential-widgets with WP-CLI.
  2. Check the installed version: wp plugin get essential-widgets --field=version.
  3. If you cannot update, deactivate the plugin until you can.
  4. Compromise check: review active admin sessions (wp user session list 1 and for other admins), and look for admin logins from unknown IPs, new admin users, and plugins or theme edits you cannot account for.

Sources

→ Source