WordPress security changelog
HIGH CVE-2026-16623 Received

Create Block Theme pattern generation permits multisite PHP injection

Create Block Theme before 2.10.0 writes user-supplied pattern text into a generated PHP file without correctly escaping it. On WordPress multisite, a subsite Administrator holds the capability that gates pattern generation but lacks the capability that normally permits PHP file editing, allowing that user to inject PHP into the generated pattern and execute code on the server. The public advisory does not disclose the request route, action, parameter, generation function or output path.

CVE / CNA score 8.0 CVSS 3.1 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
NVD score Pending NVD has not published its own CVSS assessment.
Component
Create Block Theme
Plugin slug
create-block
Affected
< 2.10.0
Safe version
2.10.0
Published
Aug 04, 2026
Weakness
CWE-94 — Improper Control of Generation of Code ('Code Injection')

This CVE was published Aug 04, 2026 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Create Block Theme to 2.10.0 or later. Review generated pattern PHP files for unexpected code and investigate filesystem or process activity by subsite administrators while a vulnerable release was active.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Primary and upstream sources