{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4048",
 "modified": "2026-11-27T03:42:41Z",
 "published": "2026-11-27T03:42:41Z",
 "summary": "Advanced Coupons for WooCommerce Coupons <= 4.7.6.1 - Authenticated (Subscriber+) Business Logic Flaw to Store Credit Deduction Bypass via Store API Checkout",
 "details": "The Advanced Coupons for WooCommerce plugin for WordPress is vulnerable to a business logic flaw in the store credits block (Store API) checkout in all versions up to, and including, 4.7.6.1. This is due to the Store API draft order keeping the store credit discount meta after the store credit is removed from the session, while the balance deduction step does nothing when no session data is present. This makes it possible for authenticated attackers, with customer-level access and above, to complete orders discounted by store credit without that credit being deducted from their balance, and so spend the same store credit again and again.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "advanced-coupons-for-woocommerce-free"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "4.7.3"
      },
      {
       "fixed": "4.7.7"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 4.7.3 before 4.7.7"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4048/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/advanced-coupons-for-woocommerce-free/tags/4.7.7/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/advanced-coupons-for-woocommerce-free/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4048/",
  "cwe_ids": [
   "CWE-840"
  ],
  "vulnerability_type": "BYPASS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
