Skip to main content

Widget Options CVE-2026-2052

| EUVDEUVD-2026-26754 HIGH
Code Injection (CWE-94)
2026-05-02 Wordfence
8.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Generated
May 02, 2026 - 08:15 vuln.today
EUVD ID Assigned
May 02, 2026 - 08:00 euvd
EUVD-2026-26754
Analysis Generated
May 02, 2026 - 08:00 vuln.today
CVE Published
May 02, 2026 - 07:46 nvd
HIGH 8.8

DescriptionCVE.org

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.

AnalysisAI

Remote code execution in Widget Options plugin for WordPress (all versions ≤4.2.2) allows authenticated Contributor-level users to execute arbitrary PHP code on the server by bypassing input validation in the Display Logic feature. The plugin's unsafe use of eval() on user-controlled expressions, combined with insufficient authorization checks on the extended_widget_opts_block attribute, enables attackers to chain array_map with string concatenation to bypass blocklists. Version 4.2.0 included a partial patch, indicating the vulnerability remains exploitable in current versions. No CISA KEV listing or public POC identified at time of analysis, but EPSS data not provided for risk calibration.

Technical ContextAI

This vulnerability affects the Widget Options plugin (also known as Widget Options Extended, identified by CPE cpe:2.3:a:marketingfire:widget_options) for WordPress. The root cause is CWE-94 (Code Injection), specifically arising from the plugin's Display Logic feature which uses PHP's eval() function to process user-supplied conditional visibility expressions. The vulnerability exists in two key files: gutenberg-toolbar.php (line 843) and extras.php (lines 495, 534) based on WordPress plugin repository references. The plugin attempts to sanitize Display Logic expressions using a blocklist/allowlist approach, but this protection can be circumvented by chaining array_map() with string concatenation techniques to construct malicious PHP code that passes validation but executes arbitrary commands when eval() processes it. The lack of proper authorization enforcement on the extended_widget_opts_block attribute allows lower-privileged users (Contributors) to supply these malicious expressions, escalating what should be a restricted administrative feature into a privilege escalation and remote code execution vector.

RemediationAI

Upgrade Widget Options plugin to the latest version incorporating changesets 3481338 and 3514411 from the WordPress plugin repository (version number post-4.2.2, verify with WordPress.org plugin page for current stable release). The description indicates version 4.2.0 contained only a partial patch, so versions 4.2.0-4.2.2 remain vulnerable and must be upgraded. Review the specific code changes at https://plugins.trac.wordpress.org/changeset/3481338/ and https://plugins.trac.wordpress.org/changeset/3514411/ to understand the complete fix scope. As an interim compensating control if immediate patching is not feasible, restrict Contributor-level access by demoting untrusted users to Subscriber role or removing accounts entirely, though this breaks legitimate content creation workflows. Alternatively, disable the Display Logic feature entirely if the plugin provides a configuration option to do so, or temporarily deactivate the Widget Options plugin until patching is complete (side effect: all widget conditional visibility rules will stop functioning). Audit WordPress user roles using wp-admin Users panel or WP-CLI to identify all Contributor-level and above accounts, and review recent widget/block configurations for suspicious Display Logic expressions that may indicate prior exploitation attempts.

CVE-2016-10045 CRITICAL POC
9.8 Dec 30

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-3495 CRITICAL POC
9.8 May 22

The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete

Share

CVE-2026-2052 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy