CVE-2026-102364
MediumCVSS 5.4Exploitation Probability (EPSS)
Low risk8th percentile - higher than 8% of all known CVEs
Summary
mall4j through 4.0 fails to validate the sysType field in sa-token sessions, allowing storefront customers to authenticate as back-office users by reusing their session tokens. Attackers can register on the public storefront and use their customer session token to access admin endpoints lacking @PreAuthorize permission checks, including menu listings, file uploads, and configuration endpoints.
Risk Assessment
The risk includes unauthorized access to administrative functions, which can lead to configuration changes, data theft, or full system takeover by regular users.
Recommendation
It is recommended to validate the sysType field in sa-token sessions to distinguish between customer and admin roles, and to add @PreAuthorize checks to all sensitive endpoints.
Other vulnerabilities in mall4j
See all- CVE-2026-102361Critical
mall4j through 4.0 contains a missing authentication vulnerability in the PUT /user/updatePwd endpoint that allows unauthenticated attackers to reset any storefront account password. Attackers can supply a target username in the request body to overwrite passwords without verification, enabling account takeover and access to orders and personal data.
- CVE-2026-144823Low
A weakness in gz-yami mall4j up to 4.0 affects the cancelOrders function in OrderMapper.xml within the Order Cancellation/Stock Restoration component. Manipulation can lead to a race condition. The attack can be launched remotely, is characterized by high complexity, and the exploit is publicly available.
- CVE-2026-144822Medium
A security flaw was found in gz-yami mall4j up to version 4.0 affecting the /token/refresh file in the Token Validation component. Manipulating the request results in session expiration, and the attack can be launched remotely. The exploit has been publicly released and the vendor did not respond to the disclosure.
- CVE-2026-144821Medium
A vulnerability was identified in gz-yami mall4j up to version 4.0 affecting OrderParam.java in the Order Handler component. Manipulation of input leads to improper input validation, and the attack can be carried out remotely. The exploit is publicly available and the vendor did not respond to the disclosure.
- CVE-2026-144820Medium
A vulnerability was determined in gz-yami mall4j up to version 4.0 affecting the Pay function in PayServiceImpl.java of the Payment Service component. The manipulation causes missing authorization, and the attack can be initiated remotely. The exploit has been publicly disclosed and the vendor did not respond to the disclosure.
- CVE-2026-108691Medium
mall4j through 4.0 contains an improper authorization vulnerability that allows authenticated storefront customers to delete other shoppers' cart items through an operator precedence error in the cleanExpiryProdList SQL statement. Attackers can send one DELETE request to /p/shopCart/cleanExpiryProdList to remove every user's cart entries for off-shelf products, which do not return when products are restocked.
- CVE-2026-108690Medium
An information disclosure vulnerability in mall4j through 4.0 allows authenticated customers to read other shoppers' cart items due to an operator precedence error in the getShopCartExpiryItems SQL filter. Attackers with any storefront account can request GET /p/shopCart/expiryProdList to retrieve off-shelf product basket entries including product, SKU, quantity, shop, and promoter card numbers.
- CVE-2026-102367Medium
mall4j through 4.0 contains an insufficient session expiration vulnerability in the token refresh endpoint that fails to validate the enabled flag when issuing new sessions. Disabled user accounts can indefinitely renew their sessions through the POST /token/refresh endpoint, retaining access that account disabling was intended to remove.
- CVE-2026-102366Medium
mall4j through 4.0 contains an unrestricted file upload vulnerability in FileController endpoints that lack authorization checks and accept arbitrary file types without validation. Attackers with any authenticated token can upload HTML or SVG files that execute scripts in administrator browsers when accessed from the local storage path, resulting in stored cross-site scripting.
- CVE-2026-102365Medium
mall4j through 4.0 fails to enforce authorization checks on GET endpoints in UserAddrController that retrieve customer address data. Authenticated attackers can call /user/addr/page and /user/addr/info endpoints to harvest all customer addresses including names, phone numbers, and postal information.
Original NVD description (English source)
mall4j through 4.0 fails to validate the sysType field in sa-token sessions, allowing storefront customers to authenticate as back-office users by reusing their session tokens. Attackers can register on the public storefront and use their customer session token to access admin endpoints lacking @PreAuthorize permission checks, including menu listings, file uploads, and configuration endpoints.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

