Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise Editor-level WordPress account
-
DeliveryOpen WP Coder PHP snippet feature
-
ExploitSave snippet containing arbitrary PHP
-
ExecutionExecute snippet on server
-
ImpactFull site/server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated WordPress account holding the Editor role (or any role carrying the content capability WP Coder uses to gate its PHP feature), on a site running WP Coder version 4.0 up to but not including 4.5.2 with the plugin active. No special non-default plugin configuration is needed - the flaw is that the code-execution feature is reachable by Editors under default capability mappings instead of being restricted to administrators. Limiting factors that reduce realistic risk: exploitation is NOT remote-unauthenticated - the attacker must first possess or compromise an Editor-level (or higher) credential, so sites that grant Editor access only to fully trusted staff face materially lower exposure than sites with many semi-trusted Editors. |
| Impact | This is a genuine privilege-boundary/RCE flaw but a moderate real-world priority, not a drop-everything emergency. The signals are internally consistent: the provided CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, 7.2) correctly reflects that no user interaction is needed and that successful exploitation yields full confidentiality/integrity/availability impact (arbitrary PHP execution = complete site compromise), but that a pre-authenticated privileged session is required (PR). A public exploit exists (WPScan), which raises practical risk, but there is NO CISA KEV listing and NO EPSS score was provided, so there is no evidence of active or widespread exploitation - exploitation status is 'publicly available exploit code exists', which must not be conflated with in-the-wild use. The key nuance the raw score obscures: the vulnerability's significance is precisely that a NON-administrative Editor can reach an admin-only code-execution feature, so modeling it as PR:H understates reachability - an Editor is a lower-trust role than the vendor intended for this feature. Net: a confirmed, patch-available, publicly-exploitable authenticated RCE in a niche plugin - prioritize patching on any site that delegates Editor accounts to semi-trusted users, but it is lower urgency where only fully-trusted staff hold Editor+ roles. |
| Exploit ScenarioDerived | A site grants Editor accounts to contributors, freelancers, or a compromised/ phished non-admin user. Because the WP Coder PHP code-execution feature is gated on a content capability the Editor role holds by default rather than on administrator status, that Editor opens the plugin, saves a snippet containing arbitrary PHP (e.g., a web shell), and triggers its execution - fully compromising the server. A public proof-of-concept from WPScan lowers the skill required, and with CVSS AC:L and no user interaction the action is reliable once the attacker has Editor access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated users holding the WordPress Editor role on sites running the WP Coder plugin (versions 4.0 up to but not including 4.5.2) can save and execute arbitrary PHP code on the server, resulting in full site compromise. The flaw is a privilege-boundary failure: the plugin gates its PHP code-execution feature on a content capability that the Editor role holds by default rather than restricting it to administrators, so no plugin misconfiguration is needed. Exploitation requires an existing Editor-level (or higher) account - it is not remote-unauthenticated - but publicly available exploit code exists, and the vendor has released WP Coder 4.5.2 to fix it. No confirmed active exploitation (CISA KEV) has been reported, so risk is concentrated on sites that hand Editor access to semi-trusted contributors.
RemediationAI
Vendor-released patch: upgrade WP Coder to version 4.5.2 or later, which is the first release to restrict the PHP code-execution feature to Administrators; the fix is available per the vendor and documented in the WPScan advisory at https://wpscan.com/vulnerability/2e730bf3-ebf9-4c0d-bb05-8ca94c7cab60/. Until the upgrade can be applied, the most direct compensating control is to deactivate WP Coder entirely - the trade-off is that any legitimate PHP/CSS/JS snippets stored by the plugin will stop rendering on the site. If the plugin must stay active, use a role-management plugin to remove the specific content capability that WP Coder uses to gate its PHP feature from the Editor role (and any custom roles that inherit it), leaving it only with Administrators; the trade-off is that Editors may lose the ability to manage the affected content type and role changes can be reverted by later role-editing. Additional hardening with low side effects: audit existing posts, snippets, and plugin-stored files for injected PHP that may have been planted by an Editor prior to patching, rotate credentials and salts for any site where an Editor account was untrusted, and tighten who is granted the Editor role so that semi-trusted contributors do not hold code-execution reach. Note that removing PHP execution capability does not undo code already persisted on the server, so a post-fix integrity review is recommended for any site with many Editor accounts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-94 (Improper Control of Generation of Code, 'Code Injection') describes the root cause class here. WP Coder is a WordPress plugin that lets site owners embed PHP, CSS, and JavaScript snippets into posts and pages; because the plugin stores that snippet content and later evaluates it server-side, whoever can create or edit that content effectively controls PHP execution on the host. WordPress's capability model separates content-oriented capabilities (held by the Editor role by default) from administrative capabilities such as manage_options/activate_plugins (held only by Administrators). WP Coder's authorization check for its PHP execution feature was written against a content capability that Editors already carry, so the intended Administrator-only boundary collapsed to the Editor boundary. The reported CPE cpe:2.3:a:unknown:wp_coder:*:*:*:*:*:*:*:* uses an unresolved vendor namespace, meaning standard CPE-based asset matching may not reliably identify installations - inventory should rely on WordPress plugin listings instead. The original vector carried PR:H (privileged), while the independent assessment places the prerequisite at PR:L because an Editor role, not an Administrator, is sufficient under default capability mappings; impact to confidentiality, integrity, and availability remains High in both readings.
Know when Wp Coder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
The Editor role provides basic non-administrative content privileges, so PR:L (not PR:H); remote, no interaction, and arbitrary PHP execution yields C/I/A:H.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The WP Coder WordPress plugin before 4.5.2 does not restrict access to its PHP code-execution feature to administrators, gating it on a content capability that the Editor role holds by default, which allows Editor-level users to save and execute arbitrary PHP code on the server and fully compromise the site.
Technical POC Analysis
CWE-94 (Improper Control of Generation of Code / Code Injection), classified by WPScan as RCE, OWASP A1: Injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
WP Coder plugin for WordPress, versions 4.0 through 4.5.1, permits users with Editor-level access to execute arbitrary PHP code, leading to complete site compromise. Organizations that grant Editor permissions to contributors, contractors, or junior staff face a heightened risk of data theft, defacement, or malware distribution from a compromised or malicious account. Publicly available exploit code exists, but no confirmed active exploitation has been reported; Vendor-released patch: 4.5.2 is the critical remediation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The WP Coder WordPress plugin before 2.5.3 does not have CSRF check in place when deleting code created by the plugin, w
The Float menu WordPress plugin before 5.0.2, Bubble Menu WordPress plugin before 3.0.4, Button Generator WordPress plug
The WP Coder - add custom html, css and js code plugin for WordPress is vulnerable to time-based SQL Injection via the ‘
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPCoder WP Coder a
EUVD-2026-94182
GHSA-pfgx-g476-6w3m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB