CVE-2026-142305
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/api/updateCartItemQty/payloadSchema.json#L8-L11
- https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/services/updateCartItemQty.ts#L24-L35
- https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/services/zeroCheckout.ts#L21-L48
- https://www.vulncheck.com/advisories/evershop-through-2.4.0-negative-cart-quantity-payment-bypass-via-cart-items-api
CWEs
CWE-1284
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.