Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
VulnerabilityCVE-2026-2052cvecve-2026-2052cwe-94
Published: Sat May 02 2026 (05/02/2026, 07:46:40 UTC)
Source: CVE Database V5
Vendor/Project: marketingfire
Product: 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

AILast updated: 05/02/2026, 08:21:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses