CVE-2024-8672
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Widget Options WordPress plugin contains an authenticated RCE vulnerability in its display logic functionality. The plugin passes user-supplied input through eval() without sanitization or capability checks, allowing any authenticated user with contributor-level access or higher to execute arbitrary code on the server.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify Widget Options plugin is installedNavigate to WordPress admin > Plugins and check if 'Widget Options' is listed among installed plugins, or check the plugin files in /wp-content/plugins/widget-options/Affected if Plugin is installed and active
-
Identify installed plugin versionIn Plugins list, find Widget Options and note the version number displayed under the plugin name; alternatively, open the main plugin file (widget-options.php) and look for the Version header commentAffected if Version is unknown, unpatched, or falls within a vulnerable range prior to the fix
-
Confirm display logic feature is in useGo to Appearance > Widgets, open any widget settings, and check if the 'Display Logic' option field is present and contains PHP code expressionsAffected if Display logic feature contains eval()-compatible PHP expressions that could be injected
-
Check for contributor-level or higher user accountsNavigate to Users > All Users and review the role column for any accounts assigned Contributor, Author, Editor, or Administrator rolesAffected if At least one user with contributor-level or higher access exists on the site
-
Inspect saved display logic entries in databaseUse phpMyAdmin or WP-CLI to query the wp_options table for option_name containing 'widget_options' or 'display_logic' and examine stored values for unsanitized inputAffected if Database contains display logic entries with raw PHP expressions that could be executed
User is affected if Widget Options plugin is installed with a vulnerable version, the display logic feature is enabled or contains PHP expressions, and any authenticated user with contributor-level access exists on the site.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate to the latest version immediately. If no update is available, restrict or disable the display logic feature, and consider removing the plugin until patched. Given the partial nature of the vendor's patch and residual risk noted, consider implementing additional hardening or alternative solutions.
Widget Options plugin version 4.0.8 or later
- 1. Navigate to the WordPress admin dashboard
- 2. Go to Plugins > Installed Plugins
- 3. Locate the 'Widget Options – The #1 WordPress Widget & Block Control Plugin'
- 4. If the plugin is not at version 4.0.8 or higher, click 'Update Now' to install the latest version
- 5. Verify the update completes successfully
- 6. Confirm the installed version is 4.0.8 or later
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,480.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-8672 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-8672 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data