Description
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.
Published: 2026-10-14
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Now
AI Analysis

Impact

A low‑privileged WordPress user with the Contributor role can supply a custom template body to the Affiliate Toolkit plugin, which the bundled BladeOne templating engine compiles and executes as PHP. This code injection flaw (CWE‑94) allows attackers to run arbitrary PHP code on the server, potentially compromising the confidentiality, integrity, and availability of the site.

Affected Systems

WordPress installations running Affiliate Toolkit versions 3.8.7 through 3.9.0 are affected. The issue stems from the plugin’s templating engine and is independent of specific WordPress core releases. Current releases of the plugin after version 3.9.1 are not vulnerable.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity, while the EPSS score of less than 1 % shows a low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is web‑based; it is inferred that an attacker with Contributor permissions can craft a malicious template through the plugin’s admin interface or an exposed endpoint, resulting in server‑side execution of PHP code. This inference is drawn from the description that a low‑privileged user can supply a template body, but the exact pathway is not explicitly documented in the data.

Generated by OpenCVE AI on October 16, 2026 at 00:49 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Affiliate Toolkit to version 3.9.1 or later
  • Restrict Contributor accounts from accessing the plugin’s template editor until the upgrade is applied
  • If an immediate upgrade is not possible, uninstall or disable Affiliate Toolkit entirely

Generated by OpenCVE AI on October 16, 2026 at 00:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions affiliate-toolkit
Vendors & Products Wordpress-extensions
Wordpress-extensions affiliate-toolkit

Wed, 14 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Wed, 14 Oct 2026 06:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Affiliate Toolkit 3.8.7 - 3.9.0 - Contributor+ RCE via BladeOne @php Directive
References

Subscriptions

Wordpress-extensions Affiliate-toolkit
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-10-14T13:42:21.673Z

Reserved: 2026-09-08T11:51:44.005Z

Link: CVE-2026-86787

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T07:17:03.643

Modified: 2026-10-14T16:14:02.800

Link: CVE-2026-86787

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T21:15:12Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')