CVE-2026-142685
Deferred Deferred - Pending Action

Privilege Escalation via Administrator Account Takeover in Essential Widgets

Vulnerability report for CVE-2026-142685, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: Wordfence

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
catchthemes Essential Widgets From 0 (inc) to 3.2.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-269 The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Essential Widgets WordPress plugin allows unauthenticated attackers to escalate privileges to administrator level. It occurs because the plugin's shortcode handler copies a user-supplied function name directly into a WordPress core function without proper validation. Attackers can trick the system into executing a malicious function like wp_set_auth_cookie with a target user ID, granting full admin access.

Detection Guidance

Check if the Essential Widgets plugin version is 3.2.1 or lower. Use WordPress admin dashboard or run: wp plugin list --name=essential-widgets. If installed, verify no unauthorized admin accounts exist.

Impact Analysis

If exploited, this vulnerability allows attackers to take complete control of your WordPress site by creating valid admin authentication cookies. They can then modify site content, install malicious plugins, steal data, or perform other administrative actions without needing legitimate credentials.

Compliance Impact

This vulnerability could lead to unauthorized access and data breaches, violating compliance requirements under GDPR and HIPAA. Unauthorized admin access may result in exposure of sensitive user data, triggering mandatory breach notifications and potential fines under these regulations.

Mitigation Strategies

Update Essential Widgets to version 3.2.2 or higher immediately. Remove any unknown admin accounts. Disable the Tags widget if not needed. Monitor for suspicious activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142685. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...