{"id":"CVE-2026-142305","summary":"EverShop through 2.4.0 Negative Cart Quantity Payment Bypass via Cart Items API","details":"EverShop through 2.4.0 contains a business logic vulnerability that allows unauthenticated attackers to set negative cart item quantities via the PATCH /api/cart/:cart_id/items/:item_id endpoint. Attackers can submit a negative integer qty to offset other item prices until the total reaches zero, then use the zero_checkout payment method to place paid orders without payment.","modified":"2026-12-02T18:00:26.930508218Z","published":"2026-12-02T16:48:48.683Z","database_specific":{"cwe_ids":["CWE-1284"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142305.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142305.json"},{"type":"PACKAGE","url":"https://github.com/evershopcommerce/evershop"},{"type":"ARTICLE","url":"https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/api/updateCartItemQty/payloadSchema.json#L8-L11"},{"type":"ARTICLE","url":"https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/services/updateCartItemQty.ts#L24-L35"},{"type":"ARTICLE","url":"https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/services/zeroCheckout.ts#L21-L48"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142305"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/evershop-through-2.4.0-negative-cart-quantity-payment-bypass-via-cart-items-api"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/evershopcommerce/evershop","events":[{"introduced":"0"},{"last_affected":"2112081444dbf7f54b98639d5ea55b0db4a2c1dc"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.4.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v2.4.0","v2.3.0","v2.2.2","v2.2.1","v1.2.1","v1.2.0","v1.1.0","v1.0.0","1.0.0-rc.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142305.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"}]}