{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4502",
 "modified": "2026-12-03T12:50:55Z",
 "published": "2026-12-03T12:50:55Z",
 "summary": "WooCommerce Square <= 5.5.3 - Unauthenticated Price Manipulation via Digital Wallet Product Quantity",
 "details": "The WooCommerce Square plugin for WordPress is vulnerable to price manipulation via the Digital Wallet (Apple Pay / Google Pay) add-to-cart flow on the product page (the square_digital_wallet_add_to_cart WC AJAX action) in all versions from 2.3.0 up to, and including, 5.5.3. This is due to insufficient validation of the product quantity taken from the request: it was passed to the cart without being normalized to a whole stock amount. This makes it possible for unauthenticated attackers to add fractional quantities to the cart and check out a chargeable product for a total below its real price, or for a total that rounds to zero.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "woocommerce-square"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "5.5.0"
      },
      {
       "fixed": "5.5.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 5.5.0 before 5.5.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4502/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/woocommerce-square/tags/5.5.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/woocommerce-square/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4502/",
  "cwe_ids": [
   "CWE-1284"
  ],
  "vulnerability_type": "BYPASS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
