Skip to main content
EPSS 0.4%top 71%

CVE-2026-104677: CWE-94 Improper Control of Generation of Code ('Code Injection') in WP Coder

0
High
VulnerabilityCVE-2026-104677cvecve-2026-104677cwe-94
Published: 10/07/2026 (10/07/2026, 06:00:05 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected software

WP Coder

Affected versions
>=4.0 <4.5.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/07/2026, 06:48:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses