CVE-2026-84738: CWE-94 Improper Control of Generation of Code ('Code Injection') in AF Companion
A code injection vulnerability exists in the AF Companion WordPress plugin versions before 2.2.0. The plugin does not properly validate the type of files uploaded via an import feature, allowing users with a low-privileged store-management role to upload arbitrary files, including PHP scripts. This can lead to remote code execution on the affected system.
AI Analysis
Technical Summary
CVE-2026-84738 is a CWE-94 improper control of code generation vulnerability in the AF Companion WordPress plugin prior to version 2.2.0. The flaw arises because the plugin fails to validate file types during uploads in an import feature accessible to low-privileged store-management users. This lack of validation permits uploading arbitrary files, including executable PHP files, which can be executed remotely, resulting in remote code execution.
Potential Impact
An attacker with low-level store-management privileges can upload arbitrary files, including PHP code, leading to remote code execution. This compromises the affected system's integrity and potentially allows full control over the WordPress environment.
Mitigation Recommendations
Upgrade the AF Companion plugin to version 2.2.0 or later, where this vulnerability is fixed. No other mitigation guidance is provided. Patch status is confirmed by the version boundary indicating the fix in 2.2.0.
CVE-2026-84738: CWE-94 Improper Control of Generation of Code ('Code Injection') in AF Companion
Description
A code injection vulnerability exists in the AF Companion WordPress plugin versions before 2.2.0. The plugin does not properly validate the type of files uploaded via an import feature, allowing users with a low-privileged store-management role to upload arbitrary files, including PHP scripts. This can lead to remote code execution on the affected system.
Affected software
AF Companion
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-84738 is a CWE-94 improper control of code generation vulnerability in the AF Companion WordPress plugin prior to version 2.2.0. The flaw arises because the plugin fails to validate file types during uploads in an import feature accessible to low-privileged store-management users. This lack of validation permits uploading arbitrary files, including executable PHP files, which can be executed remotely, resulting in remote code execution.
Potential Impact
An attacker with low-level store-management privileges can upload arbitrary files, including PHP code, leading to remote code execution. This compromises the affected system's integrity and potentially allows full control over the WordPress environment.
Mitigation Recommendations
Upgrade the AF Companion plugin to version 2.2.0 or later, where this vulnerability is fixed. No other mitigation guidance is provided. Patch status is confirmed by the version boundary indicating the fix in 2.2.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-09-02T08:35:35.005Z
- State
- PUBLISHED
Threat ID: 6aacd5a155bf5e2cf5955f14
Added to database: 09/18/2026, 06:09:37 UTC
Last enriched: 09/18/2026, 06:18:05 UTC
Last updated: 09/18/2026, 07:19:11 UTC
Views: 4
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.