{
 "id": "WPSEC-2026-4505",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4505/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4505/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4505/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4505.json",
 "title": "WooCommerce Square <= 5.4.3 - Unauthenticated Integer Overflow in Order Total Conversion",
 "description": "The WooCommerce Square plugin for WordPress is vulnerable to an integer overflow in the conversion of order amounts to the smallest currency unit in all versions up to, and including, 5.4.3, due to the rounded floating-point amount being cast to an integer without a range check in Money_Utility::amount_to_cents(). This makes it possible for unauthenticated attackers to place orders with extremely large totals, for example through a very large quantity of a product without stock management, so that the amount charged through Square wraps around to an unrelated and potentially much smaller value than the order total.",
 "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": "UNKNOWN",
 "cwe": [
  "CWE-190"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 3.7,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Low"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.0.0",
    "from_inclusive": true,
    "to": "5.4.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.0.0 before 5.4.4"
  ]
 },
 "introduced_in": "2.0.0",
 "fixed_in": "5.4.4",
 "remediation": "Update to 5.4.4 or later.",
 "fix_released": "2026-12-02T11:01:54+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:35:16.469066+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4505/",
  "https://plugins.svn.wordpress.org/woocommerce-square/tags/5.4.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": "Low",
  "as_of": "2026-12-03"
 }
}