Advanced Coupons for WooCommerce Coupons <= 4.7.6.1 - Unauthenticated Insecure Direct Object Reference to Coupon Application via 'coupon' Query Parameter

Medium 5.3 CWE-639Fixed in 4.7.7
ID
WPSEC-2026-4049
Plugin
Advanced Coupons for WooCommerce – BOGO, Store Credit & WooCommerce Coupons (advanced-coupons-for-woocommerce-free)
Affected
from 4.5.6 before 4.7.7
Remediation
Update to 4.7.7 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-639
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-27
Attack surface
Advanced Coupons for WooCommerce Coupons on WPSec AttackSurface
Fix released
Published

Description

The Advanced Coupons for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference via the apply-coupon-by-query-string feature in all versions up to, and including, 4.7.6.1. This is due to the 'coupon' query parameter being passed directly to the coupon object, which reads a numeric value as a coupon ID, and to a missing check of the coupon's 'disable URL coupon' setting. This makes it possible for unauthenticated attackers to apply published coupons whose codes they do not know to their cart by enumerating coupon IDs, including coupons that are set not to be applied through a URL, and get discounts they are not entitled to. Exploitation requires the 'apply coupon via query string' setting to be enabled.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0