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
4DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-52579
GHSA-6wqp-7cwm-r4gv