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.

INFO

Published Date :

2026-05-02T07:46:40.524Z

Last Modified :

2026-05-04T17:51:51.166Z

Source :

Wordfence
AFFECTED PRODUCTS

The following products are affected by CVE-2026-2052 vulnerability.

Vendors Products
Marketingfire
  • Widget-options
  • Widget-options – Advanced Conditional Visibility For Gutenberg Blocks & Classic Widgets
Wordpress
  • Wordpress

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact