CVE-2026-108691: mall4j improper authorization in cart deletion

CVE-2026-108691 · Severity: medium · CVSS 5.4 · Published 2026-10-11

mall4j is an e-commerce platform that manages customer shopping carts. An authenticated customer can delete other shoppers' cart items by exploiting a SQL logic error, causing all customers' off-shelf product entries to be removed from their carts without authorization. This allows one shopper to sabotage the shopping experience of all other users on the platform.

Technologies: Gz-Yami Mall4j. Vendors: Gz-Yami.

Quick answers

Is CVE-2026-108691 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-108691 being exploited in the wild.
How severe is CVE-2026-108691?
Medium severity, with a CVSS score of 5.4, published 11 October 2026.
Which products and versions are affected?
Gz-Yami Mall4j through 4.0.
Is there a fix for CVE-2026-108691?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-108691 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-108691?
Check whether you run Gz-Yami Mall4j at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An operator precedence error in the cleanExpiryProdList SQL query allows the WHERE clause to match any user's cart row when a product is off-shelf, rather than only the authenticated caller's expired items. The vulnerable query uses OR with AND in improper order: `tp.status = 0 OR ts.status = 0 AND tb.user_id = ?` evaluates as `tp.status = 0 OR (ts.status = 0 AND tb.user_id = ?)`, so any row with an off-shelf product matches regardless of user_id. A single DELETE request to /p/shopCart/cleanExpiryProdList removes cart entries across all users.

Affected products

  • gz-yami mall4j through 4.0

Timeline

  • 2026-10-11: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.