{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.6.2"
                  },
                  {
                    "fixed": "3.1.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.2.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "edb7078bfce5ea31b40868d340b0b49dcc6cf00c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "3.1.5",
                "range": [
                  {
                    "fixed": "018202cf6fa37734420dc0f48cc032646fbf9df5"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "3.2.4",
                "range": [
                  {
                    "fixed": "1b1a5af9e65dbf9922d3c0761638e739b8c5303c"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "7c61d1800e032317a9c25e209049cd3e13e57935"
            },
            {
              "fixed": "018202cf6fa37734420dc0f48cc032646fbf9df5"
            },
            {
              "introduced": "cdff8e3d89985d880a3605ebd6bc585780583d92"
            },
            {
              "fixed": "1b1a5af9e65dbf9922d3c0761638e739b8c5303c"
            },
            {
              "fixed": "1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea"
            },
            {
              "fixed": "edb7078bfce5ea31b40868d340b0b49dcc6cf00c"
            }
          ],
          "repo": "https://github.com/thelia/thelia",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pq5m-7g9w-ppg8"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-837"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112285.json"
  },
  "details": "Thelia before 3.1.5 and 3.2.x before 3.2.4 contains a business logic vulnerability that allows authenticated customers to bypass coupon usage limits because usage is counted only when orders become paid. Attackers can place multiple pay-later orders while a usage remains, or cancel paid orders to inflate max_usage, gaining unlimited discounts.",
  "id": "CVE-2026-112285",
  "modified": "2026-10-24T02:31:00.579249195Z",
  "published": "2026-10-19T13:55:29.184Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://packagist.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112285.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/thelia/thelia/releases/tag/3.1.5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/thelia/thelia/releases/tag/3.2.4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/thelia/thelia/security/advisories/GHSA-pq5m-7g9w-ppg8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112285"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/thelia-before-3.1.5-and-3.2.4-coupon-usage-limit-bypass-via-pay-later-orders"
    },
    {
      "type": "FIX",
      "url": "https://github.com/thelia/thelia/commit/1c3ed9c7ad57fec8ea959aa2d2f506f9892777ea"
    },
    {
      "type": "FIX",
      "url": "https://github.com/thelia/thelia/commit/edb7078bfce5ea31b40868d340b0b49dcc6cf00c"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/thelia/thelia"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Action/Coupon.php"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Domain/Promotion/Coupon/Service/CouponManager.php"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/thelia/thelia/blob/3.2.3/core/lib/Thelia/Domain/Promotion/Coupon/Service/OrderCouponUsageManager.php"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Thelia before 3.1.5 and 3.2.4 Coupon Usage Limit Bypass via Pay-Later Orders"
}