Description
The Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.2.2 via the Display Logic feature. This is due to the plugin using eval() on user-supplied Display Logic expressions with an insufficient blocklist/allowlist that can be bypassed using array_map with string concatenation, combined with a lack of authorization enforcement on the extended_widget_opts_block attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server. The vulnerability was partially patched in version 4.2.0.
Published: 2026-05-02
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 04 May 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Marketingfire
Marketingfire widget-options
Marketingfire widget-options – Advanced Conditional Visibility For Gutenberg Blocks & Classic Widgets
Wordpress
Wordpress wordpress
Vendors & Products Marketingfire
Marketingfire widget-options
Marketingfire widget-options – Advanced Conditional Visibility For Gutenberg Blocks & Classic Widgets
Wordpress
Wordpress wordpress

Mon, 04 May 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 02 May 2026 08:00:00 +0000

Type Values Removed Values Added
Description The Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.2.2 via the Display Logic feature. This is due to the plugin using eval() on user-supplied Display Logic expressions with an insufficient blocklist/allowlist that can be bypassed using array_map with string concatenation, combined with a lack of authorization enforcement on the extended_widget_opts_block attribute. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server. The vulnerability was partially patched in version 4.2.0.
Title Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Marketingfire Widget-options Widget-options – Advanced Conditional Visibility For Gutenberg Blocks & Classic Widgets
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-04T17:51:51.166Z

Reserved: 2026-02-06T01:42:59.590Z

Link: CVE-2026-2052

cve-icon Vulnrichment

Updated: 2026-05-04T16:19:33.004Z

cve-icon NVD

Status : Deferred

Published: 2026-05-02T08:16:27.123

Modified: 2026-05-05T19:15:59.927

Link: CVE-2026-2052

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-04T19:44:31Z

Weaknesses