Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level WordPress account
-
DeliveryCraft post_content with nested JSON-key widgetopts literal
-
ExploitBypass save-time strip filter, persist payload to database
-
ExecutionRender-side str_replace reconstitutes class key into @eval
-
PersistPHP executes on every front-end page load
-
ImpactExfiltrate site config or achieve RCE via extended allowlist
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated WordPress account with Author-level capability or higher on a default installation, because the attacker must be able to save |
| Impact | This is a genuine high-priority issue rather than an inflated CVSS score. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8 High) is internally consistent with the description: network-reachable, low complexity, and requiring only low privileges (PR:L maps to the Author-level WordPress account the description names). The impact triad C:H/I:H/A:H is well justified because the flaw feeds attacker-controlled input into |
| Exploit ScenarioDerived | An authenticated attacker with Author-level access (available via self-registration on many sites, or a compromised low-privilege account) saves post content containing an inner |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Authenticated code injection in the Widget Options plugin for WordPress (through 4.2.6.1) lets users with Author-level capability or higher persist crafted block markup whose logic value is later run through @eval, so injected PHP expressions execute on every front-end page view for all visitors, including unauthenticated ones. Baseline impact is a boolean-oracle channel that leaks site configuration such as the admin email address, default role, and arbitrary get_option, get_user_meta and get_post_meta values through the plugin's allowlisted-function sandbox; unrestricted remote code execution only follows if some installed plugin has extended the widgetopts_allowed_php_functions filter. Contributors can exploit it only when an administrator or editor later publishes their submission, and no public exploit identified at time of analysis.
RemediationAI
Update the Widget Options plugin to 4.2.7 or later - the 4.2.7 tag of includes/widgets/gutenberg/gutenberg-toolbar.php published in the plugin's Trac is the reference for the corrected parsing, and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/3f5e4431-2789-47c8-81ce-e9f67454accc?source=cve should be checked for the vendor's confirmation of the fixed version before rolling out. Because exploitation requires an Author-level (or higher) account on a default installation, and Contributor-level accounts only matter when an administrator or editor later publishes their pending submission, restricting or auditing who holds Author and Contributor roles and reviewing pending posts before publishing reduces exposure while patching is staged - at the cost of slowing editorial workflows and not removing the flaw for existing Author accounts. No vendor-documented workaround short of updating is described in the available sources, so deactivating the plugin until the upgrade can be applied is the only complete interim option; that removes all conditional-visibility functionality from blocks and widgets that depend on it.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The plugin stores conditional-visibility logic inside Gutenberg block attributes, which WordPress serializes as HTML comments containing JSON, and filters it twice: at save time through widgetopts_strip_logic_from_blocks() and at render time through blockopts_filter_before_display(). The save-side path runs json_decode and skips stripping whenever the decoded key is not literally 'class', so a JSON key containing an embedded inner <!--start_widgetopts literal survives the filter and is written verbatim to post_content; the render-side path uses str_replace, which reconstitutes that literal back into the 'class' key, so the attacker-controlled logic value reaches the renderer and is passed into @eval. This asymmetric parsing is the root cause class CWE-94 (Improper Control of Generation of Code / Code Injection). A trust-flag mechanism added in version 4.2.6 makes widgetopts_safe_eval_trusted() bypass its non-admin short-circuit at every legacy render callsite, which is why the payload is evaluated for anonymous visitors and not only for the injecting account. The evaluated expressions are constrained to a function allowlist (widgetopts_allowed_php_functions), which bounds default impact to reading WordPress options and user/post metadata via a boolean oracle; any third-party plugin that extends that allowlist widens the sandbox toward full code execution.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable injection with low complexity; PR:L because Author-level authentication is required; C/I/A:H since eval-based code execution can fully compromise the site when the allowlist is extended.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Executive ViewAI
CVE-2026-116615 is a high-severity authenticated code injection vulnerability in the Widget Options plugin for WordPress (through version 4.2.6.1) that allows users with Author-level access or higher to execute injected PHP on every front-end page view. This means any compromised low-privilege account or malicious contributor could leak sensitive site configuration, including admin credentials and user metadata, to unauthenticated visitors. Leadership should prioritize this because it affects the integrity of the entire site and could lead to broader compromise if additional plugins are present.
Disable the Widget Options plugin if not essential; restrict Author-level and higher accounts to trusted users; implement WAF rules to inspect and block crafted block markup; regularly audit user roles and content submissions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-124976
GHSA-v9v2-rjrw-hvv2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB