affiliate-toolkit <= 3.8.5 - Authenticated (Editor+) Remote Code Execution

7.2
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2026-6169
CVSS 7.2 (High)
Publicly Published May 26, 2026
Last Updated June 2, 2026
Researcher Nguyen Quang Truong

Description

The affiliate-toolkit plugin for WordPress is vulnerable to remote code execution in all versions up to, and including, 3.8.5. This is due to the plugin using the BladeOne templating engine's runString() method which compiles user-supplied template content into PHP code and executes it via eval() without sanitization or sandboxing. This makes it possible for authenticated attackers, with Editor-level access and above, to execute arbitrary code on the server by injecting PHP into a plugin template.

References

Share

Vulnerability Details for affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display

Software Type Plugin
Software Slug affiliate-toolkit-starter (view on wordpress.org)
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 3.8.4

Recent vulnerabilities in affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display

# Title CVE ID CVSS Researchers Date
1 affiliate-toolkit <= 3.7.3 - Cross-Site Request Forgery CVE-2025-46231 4.3 stealthcopter April 22, 2025
2 affiliate-toolkit – WP Affiliate Plugin with Amazon <= 3.7.0 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-15296 6.4 Peter Thaleikis January 23, 2025
3 affiliate-toolkit <= 3.6.7 - Reflected Cross-Site Scripting CVE-2024-10675 6.1 Peter Thaleikis November 20, 2024
4 affiliate-toolkit <= 3.6.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via atkp_product Shortcode CVE-2024-10227 6.4 Peter Thaleikis October 28, 2024
5 affiliate-toolkit <= 3.5.5 - Unauthenticated Full Path Dislcosure CVE-2024-6562 5.3 stealthcopter August 8, 2024
6 affiliate-toolkit <= 3.4.4 - Unauthenticated Sensitive Information Exposure via Logs CVE-2024-37205 5.3 Joshua Chan June 20, 2024
7 affiliate-toolkit <= 3.4.5 - Authenticated (Author+) Stored Cross-Site Scripting via ratings CVE-2024-29817 6.4 Ngô Thiên An (ancorn_) March 25, 2024
8 affiliate-toolkit – WordPress Affiliate Plugin <= 3.5.4 - Missing Authorization via atkp_create_list CVE-2024-1851 6.3 Lucio Sá March 7, 2024
9 affiliate-toolkit – WordPress Affiliate Plugin <= 3.5.4 - Missing Authorization via atkp_import_product CVE-2024-2298 4.3 Lucio Sá March 7, 2024
10 affiliate-toolkit <= 3.4.2 - Unauthenticated Server-Side Request Forgery CVE-2023-5877 6.5 Yuchen Ji December 11, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation