{"api_version":"1","generated_at":"2026-05-02T12:25:01+00:00","cve":"CVE-2026-2052","urls":{"html":"https://cve.report/CVE-2026-2052","api":"https://cve.report/api/cve/CVE-2026-2052.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-2052","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-2052"},"summary":{"title":"Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic","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.","state":"PUBLISHED","assigner":"Wordfence","published_at":"2026-05-02 08:16:27","updated_at":"2026-05-02 08:16:27"},"problem_types":["CWE-94","CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')"],"metrics":[{"version":"3.1","source":"security@wordfence.com","type":"Primary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/68023557-fc92-4cf6-96b4-405ff5a5fd5a?source=cve","name":"https://www.wordfence.com/threat-intel/vulnerabilities/id/68023557-fc92-4cf6-96b4-405ff5a5fd5a?source=cve","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L495","name":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L495","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/changeset/3481338/","name":"https://plugins.trac.wordpress.org/changeset/3481338/","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/widgets/gutenberg/gutenberg-toolbar.php#L843","name":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/widgets/gutenberg/gutenberg-toolbar.php#L843","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L534","name":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L534","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://plugins.trac.wordpress.org/changeset/3514411/","name":"https://plugins.trac.wordpress.org/changeset/3514411/","refsource":"security@wordfence.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-2052","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2052","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"marketingfire","product":"Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets","version":"affected 4.2.2 semver","platforms":[]},{"source":"CNA","vendor":"Marketing Fire, LLC","product":"Widget Options - Extended","version":"affected 5.3.2 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-02-06T01:58:45.000Z","lang":"en","value":"Vendor Notified"},{"source":"CNA","time":"2026-05-01T00:00:00.000Z","lang":"en","value":"Disclosed"}],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Matthew Rollings","lang":"en"},{"source":"CNA","value":"Hung Nguyen","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets","vendor":"marketingfire","versions":[{"lessThanOrEqual":"4.2.2","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","product":"Widget Options - Extended","vendor":"Marketing Fire, LLC","versions":[{"lessThanOrEqual":"5.3.2","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Matthew Rollings"},{"lang":"en","type":"finder","value":"Hung Nguyen"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-02T07:46:40.524Z","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence"},"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/68023557-fc92-4cf6-96b4-405ff5a5fd5a?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/widgets/gutenberg/gutenberg-toolbar.php#L843"},{"url":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L495"},{"url":"https://plugins.trac.wordpress.org/browser/widget-options/trunk/includes/extras.php#L534"},{"url":"https://plugins.trac.wordpress.org/changeset/3481338/"},{"url":"https://plugins.trac.wordpress.org/changeset/3514411/"}],"timeline":[{"lang":"en","time":"2026-02-06T01:58:45.000Z","value":"Vendor Notified"},{"lang":"en","time":"2026-05-01T00:00:00.000Z","value":"Disclosed"}],"title":"Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic"}},"cveMetadata":{"assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","assignerShortName":"Wordfence","cveId":"CVE-2026-2052","datePublished":"2026-05-02T07:46:40.524Z","dateReserved":"2026-02-06T01:42:59.590Z","dateUpdated":"2026-05-02T07:46:40.524Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-02 08:16:27","lastModifiedDate":"2026-05-02 08:16:27","problem_types":["CWE-94","CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')"],"metrics":{"cvssMetricV31":[{"source":"security@wordfence.com","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"2052","Ordinal":"1","Title":"Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Co","CVE":"CVE-2026-2052","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"2052","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Co"}]}}}