CVE-2026-142685Essential Widgets <= 3.2.1 - Unauthenticated Privilege Escalation via Account Takeover
- 9.8CriticalCVSS base score
- —Exploitation in 30 daysno EPSS score yet
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Wordfence
- 3 days later
· 3 days later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| WordfenceCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- Not scored
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
catchthemes · Essential Widgets
- affected ≤ 3.2.1
References
References7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f0b55cf5-1749-46c6-803c-de9e3a5815cf?source=cve (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L120 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L146 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/widgets/class-ew-tags.php#L419 (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L121 (opens in a new tab)
- https://wordpress.org/plugins/essential-widgets/ (opens in a new tab)
- https://plugins.trac.wordpress.org/changeset/3842053/essential-widgets/trunk/includes/ew-block/blocks/ew-tags/index.php (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-142685)Record last updated .