# Coupon Affiliates – Affiliate Plugin for WooCommerce <= 8.7.2 - Cross-Site Request Forgery to Affiliate Registration Submission

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

## Description

The Coupon Affiliates – Affiliate Plugin for WooCommerce plugin for WordPress is vulnerable to Cross-Site Request Forgery via the affiliate registration form (the [couponaffiliates-register] shortcode, its widget form, the wp_head submission handler and the affiliate portal) in all versions up to, and including, 8.7.2, due to the form handlers accepting a submission without a valid nonce whenever the visitor is logged in. This makes it possible for unauthenticated attackers to submit an affiliate application, with a coupon code and details of their choosing, in the name of a logged-in user. If auto-accept is enabled, this also creates an affiliate coupon for that user. The attacker must trick the user into performing an action such as clicking a link.

## References

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

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

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.
