{
 "id": "WPSEC-2026-1618",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1618/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1618/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1618/index.md",
 "title": "Coupon Affiliates – Affiliate Plugin for WooCommerce <= 8.7.0 - Authenticated (Subscriber+) Affiliate Statistics Manipulation via Statistics Refresh",
 "description": "The Coupon Affiliates – Affiliate Plugin for WooCommerce plugin for WordPress is vulnerable to affiliate statistics manipulation via the statistics refresh AJAX actions ('wcusage_get_orders_by_coupon_ajax' and 'wcusage_update_all_stats_data') in all versions up to, and including, 8.7.0, due to the plugin saving running and final sales, order and commission totals supplied in the request instead of totals calculated on the server. This makes it possible for authenticated attackers with Subscriber-level access and above who own an affiliate coupon to set their own stored all-time sales, order and commission statistics to arbitrary values.",
 "plugin": {
  "slug": "woo-coupon-usage",
  "name": "Coupon Affiliates – Affiliate Plugin for WooCommerce",
  "full_name": "Coupon Affiliates – Affiliate Plugin for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/woo-coupon-usage/",
  "advisories_url": "https://wpsec.com/vuln/plugin/woo-coupon-usage/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/woo-coupon-usage"
 },
 "type": "BYPASS",
 "cwe": [
  "CWE-602"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "8.7.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 8.7.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "8.7.1",
 "remediation": "Update to 8.7.1 or later.",
 "fix_released": "2026-10-23T17:37:21+00:00",
 "published": "2026-10-24T17:42:52+00:00",
 "updated": "2026-10-24T10:52:50.742313+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1618/",
  "https://plugins.svn.wordpress.org/woo-coupon-usage/tags/8.7.1/",
  "https://wordpress.org/plugins/woo-coupon-usage/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/woo-coupon-usage",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-10-25"
 }
}