{
 "id": "WPSEC-2026-1838",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1838/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1838/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1838/index.md",
 "title": "YITH WooCommerce Gift Cards <= 4.38.0 - Unauthenticated Race Condition to Gift Card Balance Overspending",
 "description": "The YITH WooCommerce Gift Cards plugin for WordPress is vulnerable to a Race Condition via gift card balance deduction during checkout in all versions up to, and including, 4.38.0, due to the balance being updated with a non-atomic read-modify-write and no check that the remaining balance covers the amount being deducted. This makes it possible for unauthenticated attackers, such as guest customers holding a gift card, to submit several checkouts with the same gift card at the same time and spend more than the card's actual balance.",
 "plugin": {
  "slug": "yith-woocommerce-gift-cards",
  "name": "YITH WooCommerce Gift Cards",
  "full_name": "YITH WooCommerce Gift Cards",
  "wordpress_org": "https://wordpress.org/plugins/yith-woocommerce-gift-cards/",
  "advisories_url": "https://wpsec.com/vuln/plugin/yith-woocommerce-gift-cards/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/yith-woocommerce-gift-cards"
 },
 "type": "BYPASS",
 "cwe": [
  "CWE-362"
 ],
 "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": null,
    "from_inclusive": true,
    "to": "4.38.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 4.38.1"
  ]
 },
 "introduced_in": null,
 "fixed_in": "4.38.1",
 "remediation": "Update to 4.38.1 or later.",
 "fix_released": "2026-10-27T12:02:42+00:00",
 "published": "2026-10-28T12:46:20+00:00",
 "updated": "2026-10-28T09:12:08.922727+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1838/",
  "https://plugins.svn.wordpress.org/yith-woocommerce-gift-cards/tags/4.38.1/",
  "https://wordpress.org/plugins/yith-woocommerce-gift-cards/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/yith-woocommerce-gift-cards",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-10-28"
 }
}