CVE-2026-2052: CWE-94 Improper Control of Generation of Code ('Code Injection') in marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets
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.
AI Analysis
Technical Summary
CVE-2026-2052 is a high severity remote code execution vulnerability in the Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets WordPress plugin. The issue arises from the use of eval() on user-supplied Display Logic expressions without adequate filtering, which can be bypassed using array_map with string concatenation. Additionally, there is a lack of authorization enforcement on the extended_widget_opts_block attribute. Authenticated attackers with Contributor-level permissions or higher can exploit this to execute arbitrary code on the server. Although a partial fix was applied in version 4.2.0, the vulnerability persists in versions up to 4.2.2. No official patch or remediation level has been confirmed in the vendor advisory or other sources.
Potential Impact
Successful exploitation allows authenticated users with Contributor-level access or higher to execute arbitrary code on the server, potentially leading to full compromise of the affected WordPress site, including confidentiality, integrity, and availability impacts. The vulnerability has a CVSS 3.1 score of 8.8, reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A partial patch was introduced in version 4.2.0, but versions up to 4.2.2 remain vulnerable. Until an official fix is confirmed, restrict Contributor-level access and above to trusted users only. Monitor for updates from the vendor and apply any official patches promptly once available.
CVE-2026-2052: CWE-94 Improper Control of Generation of Code ('Code Injection') in marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets
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.
CVSS v3.1
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-2052 is a high severity remote code execution vulnerability in the Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets WordPress plugin. The issue arises from the use of eval() on user-supplied Display Logic expressions without adequate filtering, which can be bypassed using array_map with string concatenation. Additionally, there is a lack of authorization enforcement on the extended_widget_opts_block attribute. Authenticated attackers with Contributor-level permissions or higher can exploit this to execute arbitrary code on the server. Although a partial fix was applied in version 4.2.0, the vulnerability persists in versions up to 4.2.2. No official patch or remediation level has been confirmed in the vendor advisory or other sources.
Potential Impact
Successful exploitation allows authenticated users with Contributor-level access or higher to execute arbitrary code on the server, potentially leading to full compromise of the affected WordPress site, including confidentiality, integrity, and availability impacts. The vulnerability has a CVSS 3.1 score of 8.8, reflecting high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A partial patch was introduced in version 4.2.0, but versions up to 4.2.2 remain vulnerable. Until an official fix is confirmed, restrict Contributor-level access and above to trusted users only. Monitor for updates from the vendor and apply any official patches promptly once available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-06T01:42:59.590Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f5b07ecbff5d8610b4626d
Added to database: 5/2/2026, 8:06:22 AM
Last enriched: 5/10/2026, 2:08:21 AM
Last updated: 6/15/2026, 6:50:29 PM
Views: 83
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.