
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-16623 is a PHP code injection vulnerability (RCE) in the Create Block Theme WordPress plugin affecting all versions before 2.10.0. The flaw allows a multisite subsite administrator to inject and execute arbitrary PHP code on the server by exploiting insufficient escaping of user-supplied text written into generated PHP pattern files. It was publicly disclosed on July 24, 2026, and assigned a CVSS score of 8.0 (High) (WPScan). The vulnerability was discovered and reported by researcher Pavan Saxena (Rootkid) (WPScan).
The root cause is improper neutralization of user-controlled input before it is written into a server-side PHP pattern file generated by the plugin (CWE-94: Improper Control of Generation of Code). When a multisite subsite administrator saves a block pattern, the plugin fails to escape special characters in the user-supplied text, allowing PHP code to be embedded directly into the generated file. This is particularly impactful in a WordPress multisite context because subsite administrators hold the capability to trigger this pattern-save action but are normally denied the capability to edit PHP files directly — effectively bypassing that access control boundary. A proof-of-concept is scheduled for public release on August 7, 2026, per WPScan's coordinated disclosure timeline (WPScan, GitHub Advisory).
Successful exploitation grants an attacker arbitrary PHP code execution on the web server in the context of the WordPress process, enabling full server compromise. An attacker could read, modify, or delete files; exfiltrate sensitive data including database credentials; install backdoors or web shells; and potentially pivot to other systems on the same network. The vulnerability is particularly dangerous in shared hosting or multisite environments where subsite administrators are not fully trusted, as it allows privilege escalation beyond their intended access level (WPScan).
<?php system($_GET['cmd']); ?>) that will be written unescaped into the generated PHP pattern file.system(), exec(), eval(), base64_decode() calls); new web shell files in the WordPress installation directory.?cmd=); PHP error logs showing unexpected code execution from pattern files.bash, curl, wget, or python).The primary remediation is to update the Create Block Theme WordPress plugin to version 2.10.0 or later, which correctly escapes user-supplied text before writing it into PHP pattern files (WPScan, GitHub Advisory). As an interim workaround, restrict multisite subsite administrator privileges to fully trusted users only, and audit existing subsite administrator accounts for unauthorized access. Additionally, monitor PHP pattern files for unauthorized modifications and consider implementing a Web Application Firewall (WAF) rule to detect PHP code injection attempts in pattern-save requests.
The vulnerability was discovered by independent researcher Pavan Saxena (Rootkid) and responsibly disclosed through WPScan. No significant vendor statements, notable researcher commentary beyond the original disclosure, or major media coverage have been identified at this time (WPScan).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."