Skip to main content

Affiliate Toolkit EUVDEUVD-2026-100853

| CVE-2026-86787 HIGH
Code Injection (CWE-94)
2026-10-14 WPScan GHSA-rwr2-57r9-hfq7
7.2
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor-level WordPress account
  2. Delivery
    Submit crafted template body with embedded PHP
  3. Exploit
    Templating engine compiles input as PHP
  4. Execution
    Arbitrary code executes server-side
  5. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

affiliate-toolkit 3.8.7 <3.9.1

Affected Packages

euvd affiliate_toolkit fix: 3.9.1

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

Vendor (WPScan) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Oct 14, 2026 - 14:22 NVD
7.2 (None) 7.2 (HIGH)
Patch available
Oct 14, 2026 - 08:16 EUVD
CVE Published
Oct 14, 2026 - 06:00 cve.org
HIGH 7.2
CVE Published
Oct 14, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche WordPress affiliate-marketing plugin, modest install base
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy