Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets <= 4.2.3 - Authenticated (Contributor+) Remote Code Execution

8.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-54823
CVSS 8.8 (High)
Publicly Published June 17, 2026
Last Updated June 25, 2026
Researcher daroo

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.3. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute code on the server.

References

Share

Vulnerability Details for Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets

Software Type Plugin
Software Slug widget-options (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.2.4, or a newer patched version
Affected Version
  • <= 4.2.3
Patched Version
  • 4.2.4

Recent vulnerabilities in Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets

# Title CVE ID CVSS Researchers Date
1 Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic CVE-2026-2052 8.8 bashu, stealthcopter May 1, 2026
2 Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets <= 4.1.3 - Authenticated (Contributor+) Remote Code Execution CVE-2026-27984 8.8 Drew Webber (mcdruid) March 2, 2026
3 Widget Options – The #1 WordPress Widget & Block Control Plugin <= 4.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-10580 6.4 Nguyen Ngoc Quang Bach (maysbachs) October 24, 2025
4 Widget Options <= 4.1.0 - Authenticated (Contributor+) Remote Code Execution CVE-2025-22630 8.8 Tran Nguyen Bao Khanh February 11, 2025
5 Widget Options <= 4.0.8 - Missing Authorization to Notice Dismissal CVE-2025-22722 4.3 Trương Hữu Phúc (truonghuuphuc) January 15, 2025
6 Widget Options <= 4.0.6.1 - Missing Authorization CVE-2024-56219 4.3 Rafie Muhammad December 19, 2024
7 Widget Options – The #1 WordPress Widget & Block Control Plugin <= 4.0.7 - Authenticated (Contributor+) Remote Code Execution CVE-2024-8672 9.9 Webbernaut November 27, 2024
8 Widget Options - Extended <= 5.1.0 & Widget Options <= 4.0.1 - Authenticated (Subscriber+) Information Disclosure CVE-2024-35691 4.3 Dave Jong June 6, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation