Create Block Theme < 2.10.0 - Admin+ PHP Code Injection via Pattern Save (Multisite)
Create Block Theme
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unknown Create Block Theme |
| No fix yet |
Original 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.
From the CVE record · WPScan