{"id":23306,"date":"2026-09-16T04:31:24","date_gmt":"2026-09-15T20:31:24","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-56831"},"modified":"2026-09-16T04:31:24","modified_gmt":"2026-09-15T20:31:24","slug":"cve-2026-56831","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-56831","title":{"rendered":"CVE-2026-56831 [MEDIUM] &#8211; Shopper is a Headless e-commerce Admin Panel. Prior to 2.9.0, the \/cpanel\/discounts admini"},"content":{"rendered":"<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 th<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-23306","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/23306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}