CVE-2026-104677: CWE-94 Improper Control of Generation of Code ('Code Injection') in WP Coder
Description
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.
CVSS v3.1
Score 7.2high
Affected software
WP Coder
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-104677 is a code injection vulnerability (CWE-94) in the WP Coder WordPress plugin versions 4.0 up to but not including 4.5.2. The plugin's PHP code-execution feature is accessible to users with the Editor role due to improper access control, allowing these users to save and execute arbitrary PHP code on the server. This flaw enables an attacker with Editor privileges to fully compromise the affected WordPress site.
Potential Impact
An attacker with Editor-level access can execute arbitrary PHP code on the server, leading to full site compromise. This includes the potential for data theft, site defacement, or further attacks on the hosting environment.
Mitigation Recommendations
Upgrade WP Coder to version 4.5.2 or later, where this vulnerability is fixed by restricting the PHP code-execution feature to administrators only. Until the update is applied, restrict Editor-level user capabilities or remove the plugin if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-10-02T08:02:37.760Z
- State
- PUBLISHED
Threat ID: 6ac5e7d82cdf04f65621e1f1
Added to database: 10/07/2026, 06:34:00 UTC
Last enriched: 10/07/2026, 06:48:45 UTC
Last updated: 10/07/2026, 18:56:12 UTC
Views: 15
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.