CVE-2026-2052
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:May 2, 2026
Last Modified:May 4, 2026
EPS:May 2, 2026
EPSS Score:0.00057
CVSS Score:8.8
Affected Products
Vendor
Product
Action
Vendor
Marketingfire
Product
Widget-options
Marketingfire
Widget-options
Vendor
Marketingfire
Product
Widget-options – Advanced Conditional Visibility For Gutenberg Blocks & Classic Widgets
Marketingfire
Widget-options – Advanced Conditional Visibility For Gutenberg Blocks & Classic Widgets
Vendor
Wordpress
Product
Wordpress
Wordpress
Wordpress
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
