# Smart Coupons For WooCommerce Coupons <= 2.3.3 - Unauthenticated Business Logic Bypass to Unlimited Free Giveaway Quantity via Cart Quantity Update

- **ID:** WPSEC-2026-3595
- **Plugin:** Smart Coupons For WooCommerce Coupons (`wt-smart-coupons-for-woocommerce`), https://wordpress.org/plugins/wt-smart-coupons-for-woocommerce/
- **Affected versions:** all versions 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-3595/

## Description

The Smart Coupons For WooCommerce Coupons plugin for WordPress is vulnerable to a business logic flaw via the cart quantity update (classic cart form and Store API update-item) in all versions up to, and including, 2.3.3, due to the plugin not enforcing the allowed quantity on non-BOGO giveaway cart lines. The discount is applied to every unit in the line. This makes it possible for unauthenticated attackers to raise the quantity of a free gift line and receive many units of the giveaway product for free.

## References

- https://wpsec.com/vuln/WPSEC-2026-3595/
- 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-3595/

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.
