CVE-2026-116615
Last modified
CVE-2026-116615 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. The Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 4.2.6.1 via the `post_content` parameter. This is due to asymmetric parsing between the save-time strip filter (`widgetopts_strip_logic_from_blocks()`) and the render-time parser (`blockopts_filter_before_display()`): embedding an inner `<!--start_widgetopts` literal inside a JSON key causes the write-side `json_decode` to see a non-`class` key and skip stripping — persisting the payload verbatim to the database — while the render-side `str_replace` reconstitutes the key to `class`, feeding the attacker-controlled `logic` value directly into `@eval`. EPSS estimates a 0.97% chance of exploitation in the next 30 days.
Description
The Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 4.2.6.1 via the `post_content` parameter. This is due to asymmetric parsing between the save-time strip filter (`widgetopts_strip_logic_from_blocks()`) and the render-time parser (`blockopts_filter_before_display()`): embedding an inner `<!--start_widgetopts` literal inside a JSON key causes the write-side `json_decode` to see a non-`class` key and skip stripping — persisting the payload verbatim to the database — while the render-side `str_replace` reconstitutes the key to `class`, feeding the attacker-controlled `logic` value directly into `@eval`. This makes it possible for authenticated attackers, with Author-level access and above, to inject PHP expressions that execute on every front-end page view, enabling boolean-oracle exfiltration of WordPress site configuration data — including admin email address, default role, and arbitrary `get_option`, `get_user_meta`, and `get_post_meta` values — via the plugin's allowlisted-function sandbox, which escalates to unrestricted code execution if any installed plugin extends the `widgetopts_allowed_php_functions` filter. Contributors can also exploit this vulnerability when their submitted post is later published by an administrator; notably, the injected payload executes for all site visitors, including unauthenticated users, because a trust-flag mechanism introduced in version 4.2.6 causes `widgetopts_safe_eval_trusted()` to bypass its non-admin short-circuit at every legacy render callsite. Exploitation by attackers with contributor-level access and above requires that an administrator (or editor) later publishes the contributor's submission. On a default installation, where that is not configured, the vulnerability requires attackers with author-level access and above.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-116615?
How severe is CVE-2026-116615?
How do I fix CVE-2026-116615?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-116609The WP Visitor Statistics (Real Time Traffic) plugin for Wor…6.5
- CVE-2026-11661Use after free in Views in Google Chrome on Windows prior to…8.3
- CVE-2026-116610The Clean Login plugin for WordPress is vulnerable to Missin…4.3
- CVE-2026-116612A flaw was found in GStreamer Editing Services (gst-editing-…7.8
- CVE-2026-116613The Animated Text Block plugin for WordPress is vulnerable t…7.5
- CVE-2026-116614The WPMR Google Feed Manager for WooCommerce – Sell on Googl…4.9
- CVE-2026-116617The Motors – Car Dealership & Classified Listings Plugin plu…8.1
- CVE-2026-11662Type Confusion in Bindings in Google Chrome prior to 149.0.7…8.8
- CVE-2026-116620A security vulnerability has been detected in Tencent RapidJ…7.3
- CVE-2026-116621The Ultimate Member – User Profile, Registration, Login, Mem…6.4
- CVE-2026-116622The Food Store – Online Food Delivery & Pickup plugin for Wo…7.2
- CVE-2026-116623A vulnerability was detected in code-projects Simple Content…7.3
Are you affected by CVE-2026-116615?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
