Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor-level WordPress account
-
DeliverySubmit crafted template body with embedded PHP
-
ExploitTemplating engine compiles input as PHP
-
ExecutionArbitrary code executes server-side
-
ImpactFull web server / site 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 with the Contributor role or above on a site running affiliate-toolkit version 3.8.7 through below 3.9.1; the attacker supplies a template body that the plugin's bundled templating engine compiles and executes as PHP (CWE-94). Exploitation is therefore limited by the need for valid Contributor-level (or higher) credentials - most impactful on multi-author sites or sites permitting self-registration of authors - and by the plugin being installed and within the vulnerable version range. No end-user interaction is needed (UI:N) and the attack is over the network (AV:N), but it is NOT exploitable by fully unauthenticated attackers. |
| Impact | This is a moderate-but-real priority for any site actually running the affiliate-toolkit plugin. CWE-94 code injection yielding arbitrary PHP execution gives total technical impact (C:H/I:H/A:H, SSVC Technical Impact: total), and publicly available exploit code (WPScan) lowers the barrier to opportunistic abuse. However, several signals temper the urgency: EPSS is only 0.18% (8th percentile), SSVC Exploitation is 'none' and Automatable is 'no', and the flaw is NOT in CISA KEV - consistent with a gated, authenticated weakness rather than mass internet-wide exploitation. The most important conflict to flag: the input CVSS vector specifies PR:H (high privileges), yet the description explicitly describes a 'low-privileged user' with the Contributor role - Contributor is a LOW privilege level in WordPress, so PR:L is more defensible and would raise the real severity (my independent reassessment scores 8.8 vs the input 7.2). Net: not a drop-everything internet emergency, but a genuine authenticated RCE that should be patched promptly wherever the plugin is installed, especially on multi-author sites that grant Contributor accounts or allow self-registration. |
| Exploit ScenarioDerived | An attacker who holds (or registers for) a Contributor-level account on a WordPress site running affiliate-toolkit below 3.9.1 submits a crafted template body containing PHP; the plugin's bundled templating engine compiles and executes it server-side, giving the attacker arbitrary PHP code execution. Public exploit code exists (WPScan), so the technique is documented and reproducible. Exploitation is remote over the network but requires valid authenticated credentials, so it is most realistic on sites with multiple authors or open author registration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Remote code execution in the affiliate-toolkit WordPress plugin (versions before 3.9.1) lets an authenticated user holding the Contributor role or higher submit a template body that the plugin's bundled templating engine compiles and runs as PHP, giving full server-side code execution with high confidentiality, integrity, and availability impact. Any WordPress site running an affected version is exposed, and because Contributors are unprivileged content authors, sites with open author self-registration or large multi-author teams carry the greatest practical risk; no end-user interaction is required. Publicly available exploit code exists (documented via WPScan) and the EPSS score is low at roughly 0.18% (8th percentile), with no indication of confirmed active exploitation (CISA KEV) and no SSVC exploitation signal, so this rates as a moderate-but-real priority for sites that actually run the plugin.
RemediationAI
Vendor-released patch: upgrade affiliate-toolkit to version 3.9.1 or later, which is the primary and only complete fix for CVE-2026-86787 and is confirmed available from the vendor. If immediate patching is not possible, deactivate the affiliate-toolkit plugin until it can be updated - this fully removes exposure but disables all affiliate-link and template functionality on the site, so schedule the upgrade as soon as the outage window allows. Additional compensating controls, applicable only as interim measures: tighten role assignments so Contributor accounts are granted only to trusted users and revoke Contributor-or-above access from untrusted or stale accounts; disable open registration or author self-registration so attackers cannot self-provision the required low-privileged account (trade-off: blocks legitimate new contributors); and audit any existing template bodies and site content created by Contributor-level users for injected PHP, since the technique allows PHP to be embedded directly in stored template data and may already have been persisted. None of these workarounds eliminate the underlying compile-and-execute behavior of the templating engine, so they should be treated as risk reduction only. Follow the vendor/WPScan advisory at https://wpscan.com/vulnerability/ec9f71ee-fd44-46fc-989e-3b63ac04e8c3/ for confirmation of the fixed version, and note that publicly available exploit code exists, which lowers the effort required to abuse any unpatched, Contributor-exposed site.
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
The flaw is a code injection issue (CWE-94) rooted in the plugin's custom template rendering layer: user-supplied template bodies are passed to a bundled templating engine that compiles them into PHP without adequate validation, sanitization, or sandboxing, so template content becomes executable code. This is not a memory-safety or deserialization bug but a failure to separate data from code in a server-side template compilation path. The affected component is the affiliate-toolkit WordPress plugin, identified in the supplied CPE data as cpe:2.3:a:unknown:affiliate-toolkit:*:*:*:*:*:*:*:* (the vendor field is unassigned in NVD's CPE dictionary, but the affected product is unambiguous from the WPScan advisory and the EUVD entry EUVD-2026-100853). Our independent assessment scores the issue as CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, i.e. network-reachable with no user interaction, but gated behind an authenticated Contributor-level (or above) account - a correction of the reported vector's PR:H to PR:L, since Contributor is a low-privileged WordPress role. The vulnerable window spans 3.8.7 through versions below 3.9.1, and exploitation depends on the plugin being installed and within that range.
Know when PHP 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
Network-reachable with low complexity and no user interaction; Contributor is a low-privileged authenticated role so PR:L (not the input's PR:H), and PHP RCE yields full C/I/A impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The affiliate-toolkit WordPress plugin before 3.9.1 does not prevent a low-privileged user from supplying a template body that its bundled templating engine compiles and executes as PHP, allowing users with the Contributor role or above to run arbitrary PHP code on the server.
Technical POC Analysis
CWE-94 (Improper Control of Generation of Code, i.e.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The affiliate-toolkit WordPress plugin, used by marketing and content teams to run affiliate content, contains a remote code execution flaw in versions before 3.9.1 that allows a Contributor-level content account to run arbitrary code on the site's server. Any WordPress instance still running an affected version is exposed, and exploitation would give an attacker full control over site content, customer data, and the underlying host. Organizations with open author self-registration or large multi-author editorial teams carry the greatest practical risk and should treat remediation as an urgent, low-effort patch action.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-100853
GHSA-rwr2-57r9-hfq7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB