{
 "id": "WPSEC-2026-4502",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4502/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4502/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4502/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4502.json",
 "title": "WooCommerce Square <= 5.5.3 - Unauthenticated Price Manipulation via Digital Wallet Product Quantity",
 "description": "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.",
 "plugin": {
  "slug": "woocommerce-square",
  "name": "WooCommerce Square",
  "full_name": "WooCommerce Square",
  "wordpress_org": "https://wordpress.org/plugins/woocommerce-square/",
  "advisories_url": "https://wpsec.com/vuln/plugin/woocommerce-square/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/woocommerce-square"
 },
 "type": "BYPASS",
 "cwe": [
  "CWE-1284"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "5.5.0",
    "from_inclusive": true,
    "to": "5.5.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 5.5.0 before 5.5.4"
  ]
 },
 "introduced_in": "5.5.0",
 "fixed_in": "5.5.4",
 "remediation": "Update to 5.5.4 or later.",
 "fix_released": "2026-12-02T10:27:35+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:35:10.161121+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4502/",
  "https://plugins.svn.wordpress.org/woocommerce-square/tags/5.5.4/",
  "https://wordpress.org/plugins/woocommerce-square/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/woocommerce-square",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-03"
 }
}