Code injection in affiliate-toolkit plugin lets contributors run PHP
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-94.
Summary
The affiliate-toolkit WordPress plugin from 3.8.7 before 3.9.1 is affected. The plugin does not stop low-privileged users from supplying a template body that its bundled templating engine compiles and runs as PHP (CWE-94). Users with the Contributor role or above can run arbitrary PHP code on the server. An exploit link is listed in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | affiliate-toolkit | 3.8.7 to before 3.9.1 | 3.9.1 | Patch available | CNA |
- affiliate-toolkit VendorUnknown Affected 3.8.7 to before 3.9.1 Fixed in 3.9.1 Patch available CNA
Remediation
Update the affiliate-toolkit plugin to 3.9.1, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA affiliate-toolkit (Unknown) Fixed in 3.9.1
Timeline
- 2026-10-14 Threatist record created from CVE-2026-86787
- 2026-10-14 Alias added: GHSA-rwr2-57r9-hfq7
- 2026-10-14 CVSS score added · CISA ADP
- 2026-10-14 Weakness changed · CISA ADP
- 2026-10-14 CISA SSVC decision points changed
References
Sources
- CVE-2026-86787 · CVE Program
- CVE-2026-86787 · NVD
- FIRST EPSS
- GHSA-rwr2-57r9-hfq7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences