Essential Widgets <= 3.2.1 - Authenticated (Contributor+) Privilege Escalation via Tags Block and Shortcode Callback Attributes

High 8.8 CWE-94Fixed in 3.2.2
ID
WPSEC-2026-4593
Plugin
Essential Widgets (essential-widgets)
Affected
from 1.8 before 3.2.2
Remediation
Update to 3.2.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-04
Attack surface
Essential Widgets on WPSec AttackSurface
Fix released
Published

Description

The Essential Widgets plugin for WordPress is vulnerable to Privilege Escalation via the 'topic_count_text_callback' and 'topic_count_scale_callback' attributes of its Tags block and [ew-tags] shortcode in versions 1.8 up to, and including, 3.2.1. This is due to the attribute values being passed unfiltered to wp_tag_cloud(), which invokes them with call_user_func(). This makes it possible for authenticated attackers, with Contributor-level access and above, to call arbitrary PHP functions such as wp_set_auth_cookie when the block or shortcode is rendered, which can be used to authenticate as another user such as an administrator and escalate their privileges.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0