# affiliate-toolkit – Multi-Network Affiliate & Amazon Product Display <= 3.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Product URL Fields

- **ID:** WPSEC-2026-1503
- **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.3
- **Fixed in:** 3.9.3 (Update to 3.9.3 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/affiliate-toolkit-starter
- **Fix released:** 2026-10-22
- **Published:** 2026-10-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1503/

## Description

The affiliate-toolkit plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the product link and image URL fields in all versions up to, and including, 3.9.2. This is due to insufficient input sanitization and output escaping: the URL values were stored as submitted and placed into href, onclick and img src attributes without escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts into products. The scripts run whenever a user views or previews a page where the product is displayed, for example through the [atkp_product] shortcode.

## References

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

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

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.
