All vulnerabilities

npm

CVE-2026-142305

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

Severity
Medium 6.9
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
CWE-1284
Attack
Over the network · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
@evershop/evershopnpm · osv:npm:@evershop/evershop
  • Every version up to 2.4.0

About @evershop/evershop

Weekly downloads (npm)
1,925npm, 2 Dec 2026

This is the only vulnerability in @evershop/evershop in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142305