# Smart Coupons For WooCommerce Coupons <= 2.3.3 - Unauthenticated Business Logic Bypass to Free Giveaway Products via wt_choose_free_product AJAX Action

- **ID:** WPSEC-2026-3597
- **Plugin:** Smart Coupons For WooCommerce Coupons (`wt-smart-coupons-for-woocommerce`), https://wordpress.org/plugins/wt-smart-coupons-for-woocommerce/
- **Affected versions:** from 1.4.0 before 2.3.4
- **Fixed in:** 2.3.4 (Update to 2.3.4 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-840
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wt-smart-coupons-for-woocommerce
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3597/

## Description

The Smart Coupons For WooCommerce Coupons plugin for WordPress is vulnerable to a business logic flaw via the wt_choose_free_product AJAX action in all versions up to, and including, 2.3.3, due to the handler adding a coupon's giveaway product to the cart without checking that the coupon is applied. Free items whose coupon is not applied were only removed on wp_loaded, which runs before the cart is loaded on Store API (block checkout) requests. This makes it possible for unauthenticated attackers, using the nonce printed on the storefront, to add discounted or free giveaway products to their cart and check out without qualifying for the offer.

## References

- https://wpsec.com/vuln/WPSEC-2026-3597/
- https://plugins.svn.wordpress.org/wt-smart-coupons-for-woocommerce/tags/2.3.4/
- https://wordpress.org/plugins/wt-smart-coupons-for-woocommerce/

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

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.
