# CVE-2026-142305: EverShop through 2.4.0 Negative Cart Quantity Payment Bypass via Cart Items API

Source: https://aplosec.si/cve/CVE-2026-142305/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142305

Medium 6.9 · Reported · No fix listed · CWE-1284 · npm

# EverShop through 2.4.0 Negative Cart Quantity Payment Bypass via Cart Items API

CVE-2026-142305 · published 2026-12-02

## Summary

CVE-2026-142305 affects EverShop (npm) <= 2.4.0: Negative Cart Quantity Payment Bypass via Cart Items API (CWE-1284). No fixed release is listed. CVSS 4.0 base score 6.9 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/evershop-through-2.4.0-negative-cart-quantity-payment-bypass-via-cart-items-api](https://www.vulncheck.com/advisories/evershop-through-2.4.0-negative-cart-quantity-payment-bypass-via-cart-items-api)

- [Vulnerable codehttps://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/updateCartItemQty.ts#L24-L35)

- [Vulnerable codehttps://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/api/updateCartItemQty/payloadSchema.json#L8-L11)

- [Vulnerable codehttps://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/services/zeroCheckout.ts#L21-L48](https://github.com/evershopcommerce/evershop/blob/v2.4.0/packages/evershop/src/modules/checkout/services/zeroCheckout.ts#L21-L48)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142305](https://www.cve.org/CVERecord?id=CVE-2026-142305)

**Severity:** Medium 6.9 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142305)

**Package:** EverShop

**Ecosystem:** npm

**Affected:** <= 2.4.0

**Fixed:** None

**Weakness:** CWE-1284

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
