Create Block <= 2.9.0 - Code Injection to Authenticated (Admin+) PHP Code Injection

8.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-16623
CVSS 8.8 (High)
Publicly Published July 24, 2026
Last Updated August 21, 2026
Researcher Pavan Saxena

Description

The Create Block plugin for WordPress is vulnerable to Code Injection in versions up to, and including, 2.9.0. This is due to use of `edit_theme_options` instead of `edit_themes` in the REST route permission callbacks, allowing sub-site administrators on multisite installations (who hold `edit_theme_options` but not `edit_themes`) to reach filesystem-mutating endpoints. This makes it possible for authenticated attackers, with admin-level access and above, to inject arbitrary PHP code into theme files by exploiting the overly permissive capability check that granted sub-site administrators on multisite access to theme-file-mutating REST endpoints.

References

Share

Vulnerability Details for Create Block Theme

Software Type Plugin
Software Slug create-block-theme (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.10.0, or a newer patched version
Affected Version
  • <= 2.9.0
Patched Version
  • 2.10.0

Recent vulnerabilities in Create Block Theme

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation