Skip to content

Plugins & ToolsNews

Critical Essential Widgets flaw allows unauthenticated admin takeover

A 9.8-rated flaw in Essential Widgets 3.2.1 and earlier lets an attacker sign in as an existing administrator without a password. Update to 3.2.2, then check your admin accounts and sessions.

A bunch of keys left hanging in the lock of an off-white office door.
Illustration: Socket Journal
On this page
  1. What the flaw does
  2. What to do now
  3. Sources

A critical flaw in the Essential Widgets plugin lets an attacker sign in as an existing administrator without a password. It affects version 3.2.1 and earlier, is rated 9.8 out of 10, and needs no account on the site. Version 3.2.2, released on 3 December 2026, fixes it.

If you run Essential Widgets, update it or remove it now, then check your administrator accounts for sign-ins you do not recognise. The plugin, made by Catch Themes, has more than 10,000 active installations according to WordPress.org.

What the flaw does

The NVD record for CVE-2026-142685, filed by Wordfence and published on 5 December 2026, traces the problem to the plugin’s tag cloud shortcode, [ew-tags]. The shortcode passed its topic_count_scale_callback attribute straight to WordPress’s tag cloud function, which calls whatever PHP function that attribute names.

According to the record, an unauthenticated attacker can name wp_set_auth_cookie, the WordPress function that logs a user in, and arrange for a tag whose post count matches an administrator’s user ID. WordPress then issues valid login cookies for that administrator. The default first administrator has user ID 1. The attacker takes over an existing administrator account rather than promoting an account of their own.

The plugin’s Tags widget already checked this setting when it was saved; the shortcode did not. Version 3.2.2 adds the same check to the shortcode and accepts only known callbacks. Its changelog says the Navigation Menu block and widget were hardened in the same way. The NVD record does not say whether the flaw has been exploited.

PluginAffectedFixed inSeverity
Essential Widgets3.2.1 and earlier3.2.2Critical, 9.8
Severity is the CVSS 3.1 score Wordfence assigned, as listed by the NVD on 6 December 2026.

What to do now

  1. Update Essential Widgets to 3.2.2 or later from Dashboard → Updates, or with wp plugin update essential-widgets. If you do not use its widgets, deactivate and delete it instead.
  2. List your administrators and remove any account you did not create: wp user list --role=administrator --fields=ID,user_login,user_email,user_registered.
  3. Look at each administrator’s active sessions. WordPress records a session whenever it issues login cookies, including through this flaw, with the time, IP address and browser: wp user session list <user>.
  4. Check for application passwords nobody on your team created, since an attacker can use one to keep access: wp user application-password list <user>.
  5. Reset credentials. Sign every administrator out with wp user session destroy <user> --all, set new passwords, and consider new security keys with wp config shuffle-salts, which signs out every user. If your host manages wp-config.php, ask them to change the keys.

If a session or account cannot be explained, treat the site as compromised: check for plugins, themes and files you did not install, and restore from a backup taken before the earliest suspicious sign-in.

Agencies can find the plugin across their sites with their management dashboard’s plugin report, or with wp @all plugin list --name=essential-widgets --fields=name,status,version if they keep WP-CLI aliases. Inactive copies should be deleted too. Our guide to this week’s Fluent Forms, Click to Chat, Kirki and The Plus Addons flaws has a fuller checklist for working through many sites.

Sources

Written by

Socket Journal Staff

The Socket Journal newsroom reports on WordPress, plugins, hosting and AI for people who run websites. We check every fact against primary sources and test our guides on a real WordPress site.

The Friday Patch

One email a week with what changed for people who run websites: releases, security fixes, AI tools worth trying and the week’s best guides.