# Coupon Affiliates – Affiliate Plugin for WooCommerce <= 8.7.0 - Authenticated (Subscriber+) Affiliate Statistics Manipulation via Statistics Refresh

- **ID:** WPSEC-2026-1618
- **Plugin:** Coupon Affiliates – Affiliate Plugin for WooCommerce (`woo-coupon-usage`), https://wordpress.org/plugins/woo-coupon-usage/
- **Affected versions:** all versions before 8.7.1
- **Fixed in:** 8.7.1 (Update to 8.7.1 or later.)
- **Severity:** Medium 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-602
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-25)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/woo-coupon-usage
- **Fix released:** 2026-10-23
- **Published:** 2026-10-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1618/

## Description

The Coupon Affiliates – Affiliate Plugin for WooCommerce plugin for WordPress is vulnerable to affiliate statistics manipulation via the statistics refresh AJAX actions ('wcusage_get_orders_by_coupon_ajax' and 'wcusage_update_all_stats_data') in all versions up to, and including, 8.7.0, due to the plugin saving running and final sales, order and commission totals supplied in the request instead of totals calculated on the server. This makes it possible for authenticated attackers with Subscriber-level access and above who own an affiliate coupon to set their own stored all-time sales, order and commission statistics to arbitrary values.

## References

- https://wpsec.com/vuln/WPSEC-2026-1618/
- https://plugins.svn.wordpress.org/woo-coupon-usage/tags/8.7.1/
- https://wordpress.org/plugins/woo-coupon-usage/

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

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.
