CVE Catalog

CVE-2026-102364

MediumCVSS 5.4
Published: Translated: NVD NIST

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
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