CVE-2026-6169 PUBLISHED

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

Assigner: Wordfence
Reserved: 12.04.2026 Published: 27.05.2026 Updated: 27.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 7.2

Product Status

Vendor cservit
Product affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display
Versions Default: unaffected
  • affected from 0 to 3.8.4 (incl.)

Credits

  • Nguyen Quang Truong finder

References

Problem Types

  • CWE-94 Improper Control of Generation of Code ('Code Injection') CWE