Rapid7

vulnerability

WordPress Plugin: block-options: CVE-2021-24546: Improper Control of Generation of Code ('Code Injection')

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
Sep 13, 2021
Added
May 15, 2025
Modified
Apr 30, 2026

Description

The Gutenberg Block Editor Toolkit – EditorsKit WordPress plugin before 1.31.6 does not sanitise and validate the Conditional Logic of the Custom Visibility settings, allowing users with a role as low contributor to execute Arbitrary PHP code

Solution

block-options-plugin-cve-2021-24546
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.