Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level WordPress account
  2. Delivery
    Craft post_content with nested JSON-key widgetopts literal
  3. Exploit
    Bypass save-time strip filter, persist payload to database
  4. Execution
    Render-side str_replace reconstitutes class key into @eval
  5. Persist
    PHP executes on every front-end page load
  6. Impact
    Exfiltrate 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 post_content containing the crafted nested <!--start_widgetopts literal inside a JSON key. Contributor-level accounts can also exploit it, but only when an administrator or editor later publishes the contributor's submission - not the case on a default install where that workflow is not configured. The vulnerability depends on the asymmetric parsing between widgetopts_strip_logic_from_blocks() (save-time) and blockopts_filter_before_display() (render-time), and the trust-flag mechanism introduced in version 4.2.6 that causes widgetopts_safe_eval_trusted() to bypass its non-admin short-circuit, which is why the injected code executes for all visitors including unauthenticated ones. Limiting factors: valid authentication (PR:L) is mandatory and the plugin version must be 4.2.6.1 or earlier; data-only impact (boolean-oracle exfiltration) is the baseline, and escalation to unrestricted RCE requires that some installed plugin has extended the widgetopts_allowed_php_functions allowlist.

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 @eval at render time (CWE-94 code injection). Multiple signals align upward: Wordfence (the reporting source) documents a concrete asymmetric-parsing mechanism, the vuln.today decision label is 'this_week' (prompt remediation but not emergency), and the payload executes for every front-end visitor including unauthenticated users once content is published. Counter-weighting signals: this is NOT CISA KEV-listed, no EPSS score was supplied, and no verified working exploit code is present in the input - the references are a vendor advisory and source-code line pointers, not a weaponized PoC. The base sandbox limits the attacker to an allowlisted-function 'boolean-oracle' for data exfiltration (admin email, default role, arbitrary get_option/get_user_meta/get_post_meta), which only escalates to unrestricted RCE if another installed plugin extends the widgetopts_allowed_php_functions filter - so full I:H/A:H impact is conditional on site composition, a nuance the single High vector does not convey. EPSS is missing, so widespread-exploitation probability cannot be quantified from the provided data.

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 <!--start_widgetopts literal nested inside a JSON key, which evades the save-time strip filter but is reconstituted into a class key at render time and passed into @eval. On every subsequent front-end page view the injected PHP expression runs, letting the attacker exfiltrate site configuration via a boolean oracle, and achieve full code execution if any installed plugin has widened the allowed-function allowlist. No verified public exploit code is present in the input (references are a Wordfence advisory and source-code line pointers); exploitation is low-complexity (AC:L) and requires no user interaction (UI:N).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets 0 ≤4.2.6.1

Affected Packages

euvd widget_options_advanced_conditional_visibility_for_gutenberg_blocks_classic_widgets no fix

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

Vendor (Wordfence) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
1.0%
Top 38% exploitable
Prevalence
Medium
popular WordPress visibility plugin, common but not universal across WordPress sites
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy