WooCommerce Square <= 5.5.3 - Unauthenticated Price Manipulation via Digital Wallet Product Quantity
- ID
- WPSEC-2026-4502
- Plugin
- WooCommerce Square (woocommerce-square)
- Affected
- from 5.5.0 before 5.5.4
- Remediation
- Update to 5.5.4 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-1284
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-03
- Attack surface
- WooCommerce Square on WPSec AttackSurface
- Fix released
- Published
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.
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS