CVE-2026-102366
mall4j through 4.0 contains an unrestricted file upload …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/LinYuanyi1/cve-request-poc/blob/114b3f0d149e50a7678f591bf8043399fc9ac96c/mall4j
- github.com/gz-yami/mall4j
- github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/yami-shop-admin/sr
- github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/yami-shop-service/
- www.vulncheck.com/advisories/mall4j-through-4.0-unrestricted-file-upload-in-admin-file-end
- nvd.nist.gov/vuln/detail/CVE-2026-102366
- cve.org/CVERecord?id=CVE-2026-102366
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.