Vulnerabilities / Smart Coupons For WooCommerce Coupons / WPSEC-2026-3596
Smart Coupons For WooCommerce Coupons <= 2.3.3 - Unauthenticated Business Logic Bypass to Arbitrary Free Products via 'variation_id' Parameter
Medium 5.3
CWE-20Fixed in 2.3.4
- ID
- WPSEC-2026-3596
- Plugin
- Smart Coupons For WooCommerce Coupons (wt-smart-coupons-for-woocommerce)
- Affected
- from 1.4.0 before 2.3.4
- Remediation
- Update to 2.3.4 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weakness
- CWE-20
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-20
- Attack surface
- Smart Coupons For WooCommerce Coupons on WPSec AttackSurface
- Fix released
- Published
Description
The Smart Coupons For WooCommerce Coupons plugin for WordPress is vulnerable to a business logic flaw via the 'variation_id' parameter of the wt_choose_free_product AJAX action in all versions up to, and including, 2.3.3, due to the handler checking the submitted product ID against the coupon's giveaway list but then adding the unvalidated variation ID to the cart as the free gift. This makes it possible for unauthenticated attackers to add any product in the store to their cart as a 100% discounted giveaway item.
References
- https://wpsec.com/vuln/WPSEC-2026-3596/
- https://plugins.svn.wordpress.org/wt-smart-coupons-for-woocommerce/tags/2.3.4/
- https://wordpress.org/plugins/wt-smart-coupons-for-woocommerce/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS