{"id":"CVE-2026-56831","published":"2026-09-15T17:42:09Z","modified":"2026-09-16T14:41:52Z","title":"Shopper: Negative discount values accepted and propagated through order calculation pipeline","vendor":"shopperlabs","product":"shopper","tier":"tail","description":{"text":"Shopper is a Headless e-commerce Admin Panel. Prior to 2.9.0, the /cpanel/discounts administrative interface accepts negative fixed_amount discount values, persists them in sh_discounts, and passes them through vendor/shopper/cart/src/Discounts/DiscountCalculator.php and vendor/shopper/cart/src/Pipelines/Calculate.php without enforcing a positive-value invariant. Because the calculation subtracts discountTotal from the subtotal, a negative discount increases the resulting order total instead of reducing it. Malformed discount records can therefore cause incorrect pricing and financial data integrity failures, although the advisory does not establish a customer-facing exploitation path. This issue is fixed in version 2.9.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00435,"percentile":0.297,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/shopperlabs/shopper/security/advisories/GHSA-5vf4-452p-jjhf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/shopperlabs/shopper/pull/528","tags":["x_refsource_MISC"]},{"url":"https://github.com/shopperlabs/shopper/commit/967e616281ded1a0050d9102858ecd7dd7f66a41","tags":["x_refsource_MISC"]},{"url":"https://github.com/shopperlabs/shopper/releases/tag/v2.9.0","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":5.94},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"shopperlabs","affectedVersions":[{"vendor":"shopperlabs","product":"shopper","versions":["< 2.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-16T14:41:46.439666Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"shopper/framework","vulnerableRanges":["<2.9.0"],"patched":["2.9.0"],"from":["GHSA-5vf4-452p-jjhf"],"provenance":"source"}],"summary":{"text":"The Shopper headless e-commerce admin panel, prior to 2.9.0, accepts negative fixed_amount values through its /cpanel/discounts interface and carries them through the cart discount calculation in DiscountCalculator.php and Calculate.php, where they are not rejected. An attacker with low-privilege authenticated access over the network, with no user interaction required, can create a negative discount that inflates the resulting order total and corrupts pricing and financial data, though no customer-facing exploitation path has been established.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:12Z"},"euvd":{"id":"EUVD-2026-78917","exploited":false,"provenance":"source"}}