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.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.