# affiliate-toolkit <= 3.9.3 - Unauthenticated Remote Code Execution via Discount Notice Feed

- **ID:** WPSEC-2026-2945
- **Plugin:** affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display (`affiliate-toolkit-starter`), https://wordpress.org/plugins/affiliate-toolkit-starter/
- **Affected versions:** all versions before 3.9.4
- **Fixed in:** 3.9.4 (Update to 3.9.4 or later.)
- **Severity:** High 8.1 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-494
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/affiliate-toolkit-starter
- **Fix released:** 2026-11-11
- **Published:** 2026-11-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-2945/

## Description

The affiliate-toolkit plugin for WordPress is vulnerable to Remote Code Execution via the discount/promotion notice feed in all versions up to, and including, 3.9.3. This is due to the plugin fetching a remote JSON feed from affiliate-toolkit.com with TLS certificate verification disabled and then writing the response's 'aktion_filecontent' into the uploads directory under the unvalidated file name 'aktion_filename'. This makes it possible for unauthenticated attackers who can intercept or spoof the connection to the store server (for example through a man-in-the-middle position or DNS spoofing) to write arbitrary files, including executable PHP files, onto the server, which can lead to remote code execution.

## References

- https://wpsec.com/vuln/WPSEC-2026-2945/
- https://plugins.svn.wordpress.org/affiliate-toolkit-starter/tags/3.9.4/
- https://wordpress.org/plugins/affiliate-toolkit-starter/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-2945/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
