CVE-2024-8672 CRITICAL

CVE-2024-8672: Widget Options – The #1 WordPress Widget & Block Control Plugin <= 4.0.7 - Authenticated (Contributor+) Remote Code Execution

Vendor Marketingfire
Product Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets
Weakness CWE-94 · Code injection
Published November 28, 2024
Last update April 8, 2026

CVSS base score

9.9/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

The Widget Options – The #1 WordPress Widget & Block Control Plugin plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.0.7 via the display logic functionality that extends several page builders. This is due to the plugin allowing users to supply input that will be passed through eval() without any filtering or capability checks. This makes it possible for authenticated attackers, with contributor-level access and above, to execute code on the server. Special note: We suggested the vendor implement an allowlist of functions and limit the ability to execute commands to just administrators, however, they did not take our advice. We are considering this patched, however, we believe it could still be further hardened and there may be residual risk with how the issue is currently patched.

Explanation of Vulnerability in Simple Terms

02Summary

An attacker with low-level site access can inject and execute arbitrary PHP code through the Widget Options plugin. The vulnerability affects all versions up to 4.0.7. An attacker can run their own code on the site, potentially compromising the entire WordPress installation, stealing data, or modifying content. Site owners must update immediately to a version newer than 4.0.7.

What an attacker can do

03Attacker Capabilities

Run arbitrary PHP code on the site with full site privileges.

Potential impact on your site

04Site Impact

Complete site compromise possible; attacker can steal data, modify content, create admin accounts, or inject malware.

Conditions required to exploit

05Prerequisites

Attacker needs a low-privilege account (subscriber or contributor level) on the WordPress site.

Key dates

06Disclosure timeline

November 28, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE