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
CVE-2026-2052 is a high-severity vulnerability in the WordPress plugin 'Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets' up to version 4. 2. 2. It allows authenticated users with Contributor-level access or higher to execute arbitrary code on the server via the Display Logic feature. This occurs because the plugin improperly uses eval() on user-supplied expressions with an insufficient filtering mechanism, which can be bypassed. A partial patch was introduced in version 4. 2. 0, but the vulnerability remains in versions up to 4. 2. 2.
AI Analysis
Technical Summary
The vulnerability arises from the plugin's use of eval() on user-controlled Display Logic expressions without adequate sanitization or authorization checks on the extended_widget_opts_block attribute. This improper control of code generation (CWE-94) enables authenticated attackers with Contributor-level privileges or higher to execute arbitrary code remotely on the server. Although a partial patch was applied in version 4.2.0, versions up to and including 4.2.2 remain vulnerable. The CVSS 3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, and no user interaction required.
Potential Impact
Successful exploitation allows authenticated users with Contributor or higher privileges to achieve remote code execution on the server hosting the WordPress site. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability affects all plugin versions up to 4.2.2, despite a partial patch in 4.2.0. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability was only partially patched in version 4.2.0 and remains in 4.2.2, users should monitor for an official full patch from the vendor. Until then, restrict Contributor-level access and above to trusted users only and consider disabling or removing the plugin if possible to mitigate risk.
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
CVE-2026-2052 is a high-severity vulnerability in the WordPress plugin 'Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets' up to version 4. 2. 2. It allows authenticated users with Contributor-level access or higher to execute arbitrary code on the server via the Display Logic feature. This occurs because the plugin improperly uses eval() on user-supplied expressions with an insufficient filtering mechanism, which can be bypassed. A partial patch was introduced in version 4. 2. 0, but the vulnerability remains in versions up to 4. 2. 2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from the plugin's use of eval() on user-controlled Display Logic expressions without adequate sanitization or authorization checks on the extended_widget_opts_block attribute. This improper control of code generation (CWE-94) enables authenticated attackers with Contributor-level privileges or higher to execute arbitrary code remotely on the server. Although a partial patch was applied in version 4.2.0, versions up to and including 4.2.2 remain vulnerable. The CVSS 3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, and no user interaction required.
Potential Impact
Successful exploitation allows authenticated users with Contributor or higher privileges to achieve remote code execution on the server hosting the WordPress site. This can lead to full compromise of the affected system, including confidentiality, integrity, and availability impacts. The vulnerability affects all plugin versions up to 4.2.2, despite a partial patch in 4.2.0. No known exploits in the wild have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability was only partially patched in version 4.2.0 and remains in 4.2.2, users should monitor for an official full patch from the vendor. Until then, restrict Contributor-level access and above to trusted users only and consider disabling or removing the plugin if possible to mitigate risk.
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/2/2026, 8:21:24 AM
Last updated: 5/2/2026, 9:17:16 AM
Views: 4
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.