Code injection in Widget Options plugin lets authors run PHP
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
The Widget Options plugin from marketingfire is affected up to and including 4.2.6.1. Its post_content parameter lets stored input be evaluated as PHP (CWE-94). An authenticated attacker with Author-level access can inject PHP that runs on every front-end page view. Contributors can also exploit it once an administrator or editor publishes their submission.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Marketing Fire | Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets | up to 4.2.6.1 | — | No fix listed | CNA |
- Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets VendorMarketing Fire Affected up to 4.2.6.1 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Widget Options (Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets).
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Timeline
- 2026-11-13 Threatist record created from CVE-2026-116615
- 2026-11-13 Alias added: GHSA-v9v2-rjrw-hvv2
- 2026-11-13 CISA SSVC decision points changed
References
Other 6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/3f5e4431-2789-47c8-81ce-e9f67454accc?source=cve
- https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/widgets/gutenberg/gutenberg-toolbar.php#L496
- https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/widgets/gutenberg/gutenberg-toolbar.php#L331
- https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/widgets/gutenberg/gutenberg-toolbar.php#L377
- https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/extras.php#L792
- https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.7/includes/widgets/gutenberg/gutenberg-toolbar.php
More Marketing Fire vulnerabilities
- TI-2024-08045 Code injection in Marketing Fire Widget Options – Advanced Conditional Visibility for… CVSS 3.1CRITICAL 9.9
- TI-2025-16513 WordPress Widget Options Plugin <= 4.1.0 - Arbitrary Code Execution vulnerability CVSS 3.1CRITICAL 9.9
- TI-2026-39626 WordPress Widget Options plugin <= 4.2.3 - Remote Code Execution (RCE) vulnerability CVSS 3.1CRITICAL 9.9
- TI-2026-83311 Remote code execution in WordPress Widget Options plugin CVSS 3.1CRITICAL 9.1
- TI-2026-22326 WordPress Widget Options plugin <= 4.1.3 - Remote Code Execution (RCE) vulnerability CVSS 3.1CRITICAL 9.0
- TI-2026-01707 Widget Options <= 4.2.2 - Authenticated (Contributor+) Remote Code Execution via Display Logic CVSS 3.1HIGH 8.8
Sources
- CVE-2026-116615 · CVE Program
- CVE-2026-116615 · NVD
- FIRST EPSS
- GHSA-v9v2-rjrw-hvv2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences