# CVE-2026-116615: Widget Options \<= 4.2.6.1 - Authenticated (Contributor+) Code Injection via 'post\_content' Parameter

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-29)
- **CWE:** CWE-94
- **Published:** 2026-11-13T09:35:12.566Z
- **Modified:** 2026-11-13T20:17:51.890Z

## Who should check

- Anyone running marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets \<= 4.2.6.1

## 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.

## Affected and fixed versions

- marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets: \<= 4.2.6.1 (cvelist)

## Technologies

WordPress plugins and themes

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-116615. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-116615.md
Affected: marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets <= 4.2.6.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-116615 being exploited?

There is no confirmed exploitation: CVE-2026-116615 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-116615?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-116615?

marketingfire Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets \<= 4.2.6.1.

### Is there a fix for CVE-2026-116615?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-116615?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/3f5e4431-2789-47c8-81ce-e9f67454accc?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/widgets/gutenberg/gutenberg-toolbar.php#L496>
- other: <https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/widgets/gutenberg/gutenberg-toolbar.php#L331>
- other: <https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/widgets/gutenberg/gutenberg-toolbar.php#L377>
- other: <https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.6.1/includes/extras.php#L792>
- other: <https://plugins.trac.wordpress.org/browser/widget-options/tags/4.2.7/includes/widgets/gutenberg/gutenberg-toolbar.php>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-116615>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-116615> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-116615>
