{"identifier":"CVE-2026-142685","cve":{"id":"CVE-2026-142685","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.","published":"2026-12-05T10:17:34.993000+00:00","modified":"2026-12-05T10:17:35.157000+00:00","status":"Deferred","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_version":"3.1","affected":[],"weaknesses":["CWE-269"],"references":[{"url":"https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L120","source":"security@wordfence.com"},{"url":"https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L121","source":"security@wordfence.com"},{"url":"https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L146","source":"security@wordfence.com"},{"url":"https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/widgets/class-ew-tags.php#L419","source":"security@wordfence.com"},{"url":"https://plugins.trac.wordpress.org/changeset/3842053/essential-widgets/trunk/includes/ew-block/blocks/ew-tags/index.php","source":"security@wordfence.com"},{"url":"https://wordpress.org/plugins/essential-widgets/","source":"security@wordfence.com"},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f0b55cf5-1749-46c6-803c-de9e3a5815cf?source=cve","source":"security@wordfence.com"}],"kev":null,"kev_checked":true,"metrics":{"cvssMetricV31":[{"source":"security@wordfence.com","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}]},"configurations":[],"source":"nvd","retrieved_at":"2026-12-05T13:13:55.283808+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Critical technical severity","reasons":["CVSS is at least 9.0; exploitation is not established by severity alone.","Fresh EPSS data is unavailable; missing values are not zero."]},"epss":null,"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"plugins.trac.wordpress.org","source_url":"https://plugins.trac.wordpress.org/browser/essential-widgets/tags/3.2.1/includes/ew-block/blocks/ew-tags/index.php#L120","investigate_url":"https://investigate.aeglixmind.com/#plugins.trac.wordpress.org"},{"domain":"wordpress.org","source_url":"https://wordpress.org/plugins/essential-widgets/","investigate_url":"https://investigate.aeglixmind.com/#wordpress.org"},{"domain":"www.wordfence.com","source_url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f0b55cf5-1749-46c6-803c-de9e3a5815cf?source=cve","investigate_url":"https://investigate.aeglixmind.com/#www.wordfence.com"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-142685","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-142685","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-142685","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}