Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise subsite administrator account
-
DeliveryNavigate to Create Block Theme pattern generation interface
-
ExploitSubmit PHP payload in user-controlled text field
-
ExecutionPlugin writes unescaped PHP into generated pattern file on disk
-
PersistTrigger HTTP request to load the pattern file
-
ImpactAchieve arbitrary code execution as web server process
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 | Exploitation requires three simultaneous conditions: (1) the target WordPress installation must be configured as a multisite network - single-site installations are not vulnerable; (2) the Create Block Theme plugin must be installed, activated, and at version below 2.10.0 on at least one subsite; and (3) the attacker must hold an authenticated subsite administrator account on that network with the capability assigned to the plugin's pattern file generation action. Unauthenticated exploitation and exploitation by lower-privileged roles (editor, author, subscriber) are not possible. The exploitation is limited by the requirement to already possess a subsite administrator account, which is a meaningful barrier in networks where such roles are tightly controlled. However, the absence of any required victim interaction (UI:N) means no social engineering or timing dependency is needed once the account is obtained. |
| Impact | The CVSS 8.0 vector (AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H) accurately models this vulnerability. High attack complexity (AC:H) reflects the WordPress multisite requirement; high privileges (PR:H) correctly captures the subsite administrator prerequisite; Scope:Changed (S:C) reflects the PHP-level server impact. The low EPSS of 0.15% (5th percentile) is consistent with the constrained attacker profile - exploitation requires an authenticated subsite administrator account, which significantly narrows the threat population. However, this should not breed complacency: the existence of a public proof-of-concept via WPScan means any compromised or malicious subsite administrator can trivially weaponize this without additional research. This is not a high-CVSS/low-real-risk scenario - any multisite operator who extends subsite admin rights to semi-trusted parties faces concrete risk. KEV status is not confirmed, so active mass exploitation is not established, but the POC lowers exploitation friction substantially. No conflicting signals exist between the CVSS vector and the description. |
| Exploit ScenarioDerived | A subsite administrator on a WordPress multisite network navigates to the Create Block Theme plugin's pattern generation interface and submits a malicious pattern name or content embedding PHP code - for example, a passthru webshell. The plugin writes the unescaped content into a PHP file on disk; when the web server includes or serves that file, the injected PHP executes in the context of the web server process, granting the attacker arbitrary command execution on the host. A public proof-of-concept for this exact technique is available via the WPScan advisory, requiring no additional exploit development. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 04, 2026
PHP code injection in the Create Block Theme WordPress plugin (before 2.10.0) enables a multisite subsite administrator to execute arbitrary server-side code by exploiting insufficient output escaping when the plugin writes user-supplied text into generated PHP pattern files. The vulnerability leverages a capability boundary mismatch unique to WordPress multisite: subsite admins hold the capability gating pattern file generation but are denied the capability normally required for PHP file editing, creating an unintended privilege escalation path to full remote code execution. A public proof-of-concept is available via WPScan, though EPSS sits at 0.15% (5th percentile), indicating exploitation is currently targeted rather than widespread.
RemediationAI
The primary remediation is to upgrade the Create Block Theme plugin to version 2.10.0 or later, which introduces correct escaping of user-supplied text before it is written into generated PHP pattern files; this patch is confirmed available from the vendor per the WPScan advisory at https://wpscan.com/vulnerability/19c7fdaa-5e75-481d-884c-68fdb2fb8f8d/. If an immediate upgrade is operationally infeasible, the most targeted compensating control is to revoke the specific capability that gates the pattern file generation action from all subsite administrator roles - this eliminates the attack vector while keeping the plugin installed, at the cost of disabling that feature for subsite admins. A secondary compensating control is to audit and reduce the set of users holding subsite administrator roles, retaining only fully trusted individuals. WAF-based controls are unlikely to be effective because the payload is written during a legitimate-looking authenticated action rather than a distinctly anomalous request. PHP file execution restrictions (e.g., disable_functions on generated theme directories) could limit impact but not the file write itself.
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 Create Block Theme plugin (CPE: cpe:2.3:a:unknown:create_block_theme:*:*:*:*:*:*:*:*) is a WordPress.org-published tool enabling users to generate and manage block-based themes. The root cause is CWE-94 (Improper Control of Generation of Code): the plugin constructs PHP pattern files by concatenating user-supplied text directly into PHP source without adequate escaping or neutralization. In WordPress multisite, the capability system is intentionally split - the file_edit capability (normally required to write PHP) is disabled for subsite administrators, while the plugin's own pattern-generation capability is not similarly restricted. This asymmetry means a subsite admin can trigger the vulnerable code path and write attacker-controlled PHP into a file that the web server will subsequently interpret and execute. The Scope:Changed metric in the CVSS vector reflects that impact escapes the plugin's own security domain to the underlying PHP runtime.
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:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Network-initiated via web interface (AV:N); WordPress multisite prerequisite raises complexity (AC:H); subsite administrator account required (PR:H); PHP execution escapes plugin scope to server (S:C) with full C/I/A impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
3DescriptionCVE.org
The Create Block WordPress plugin before 2.10.0 does not correctly escape user-supplied text before writing it into a generated PHP pattern file, allowing a multisite subsite administrator (who holds the capability gating this action but is denied the capability that normally gates PHP file editing) to inject and execute arbitrary PHP code on the server.
Executive ViewAI
Create Block Theme WordPress plugin versions before 2.10.0 contain a PHP code injection vulnerability that enables multisite subsite administrators to execute arbitrary server-side code through improper output escaping in generated pattern files; publicly available exploit code exists. This flaw exploits a permission architecture gap unique to WordPress multisite, allowing users with limited admin privileges to achieve full remote code execution and server compromise. Organizations using affected plugin versions face direct risk of data exfiltration and business disruption.
Apply vendor patch: Create Block Theme version 2.10.0 or later.
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-52579
GHSA-6wqp-7cwm-r4gv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB