CVE-2026-2052
published high CVSS 3.1 · 8.8Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| marketingfire | — | Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets0 through 4.2.2 · Other versions: unaffected | Affected | Not stated | Wordfence |
| Marketing Fire, LLC | — | Widget Options - Extended0 through 5.3.2 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| marketingfire | Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets | 0 through 4.2.2 (affected · semver)Default: unaffected | Wordfence · cna |
| Marketing Fire, LLC | Widget Options - Extended | 0 through 5.3.2 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
6- https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L495
- https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L534
- https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/widgets/gutenberg/gutenberg-toolbar.php#L843
- https://plugins.trac.wordpress.org/changeset/3481338/
- https://plugins.trac.wordpress.org/changeset/3514411/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/68023557-fc92-4cf6-96b4-405ff5a5fd5a?source=cve
Provider assertions
2Wordfence · cna
Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ef88c5f0381926054dd574ecb50a6245b9844eca7f7ecac3e93baa79d3033161
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record