Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
2.1
CVE-2026-102366: Mall4j up to 4.0 lets attackers upload malicious files
CVE-2026-102366 · published 20 days ago
Summary
The Mall4j shopping platform (versions up to 4.0) lets anyone with a logged‑in account upload files through its admin panel without checking the file type or the user's rights. An attacker could place a crafted HTML or SVG file that runs code in an administrator's browser when the file is opened, leading to a stored cross‑site scripting attack. Upgrade to a patched version or add strict file‑type validation and access controls to the upload endpoints.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| gz-yami | mall4j | <= 4.0 |
Original advisory text
mall4j through 4.0 Unrestricted File Upload in Admin File Endpoints
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.
References
- https://github.com/LinYuanyi1/cve-request-poc/blob/114b3f0d149e50a7678f591bf8043...
- https://github.com/gz-yami/mall4j
- https://github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/...
- https://github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/...
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-1023... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-102366 Vendor Advisory
- https://www.vulncheck.com/advisories/mall4j-through-4.0-unrestricted-file-upload...
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-434Unrestricted File Upload
Timeline
Published29 Sep 2026
Updated15 Oct 2026
First seen29 Sep 2026
Track software like this
Free during beta