Description
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.
Published: 2026-08-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Create Block Theme WordPress plugin before version 2.10.0 writes user‑supplied text into a generated PHP pattern file without proper escaping. A multisite subsite administrator, who normally lacks the capability that gates PHP file editing, can trigger this action from the admin interface and inject arbitrary PHP code that will be executed by the server. This flaw enables an attacker who can become a subsite administrator to run arbitrary code on the entire WordPress site, compromising data, installing malware, or taking control of the environment. The weakness is a classic code injection problem (CWE‑94).

Affected Systems

Any WordPress site running the Create Block Theme plugin with a version older than 2.10.0 on a multisite network is affected. Only the multisite subsite administrators who can trigger the pattern‑save operation are required to exploit the flaw; other roles do not need additional privileges.

Risk and Exploitability

Because the flaw results in uncontrolled PHP code execution, the potential impact is high. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, but the attack vector is local via an authorized but privileged attacker. A multisite subsite administrator can exploit this flaw without needing to compromise higher‑level administrative accounts. The lack of an official remedy means the risk is immediate and significant, especially for sites that rely on the plugin for core functionality.

Generated by OpenCVE AI on August 4, 2026 at 09:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Create Block Theme plugin to version 2.10.0 or later.
  • If an upgrade is not feasible, remove the Create Block Theme plugin from all sites in the network to eliminate the vulnerable code path.
  • As a short‑term containment, deny the subsite administrator capability that invokes the pattern‑save operation by adjusting role capabilities with a role‑management plugin or by setting file permissions that prevent writing PHP files to the plugin’s pattern directory.

Generated by OpenCVE AI on August 4, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 04 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94

Tue, 04 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Create Block Theme < 2.10.0 - Admin+ PHP Code Injection via Pattern Save (Multisite)
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-08-04T06:00:08.523Z

Reserved: 2026-07-22T14:59:28.691Z

Link: CVE-2026-16623

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T09:30:06Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')