mall4j through 4.0 Unrestricted File Upload in Admin File Endpoints
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-102366
- 2026-10-03 Alias added: GHSA-ffmx-jjx9-c9cx
References
Other 3
- https://github.com/gz-yami/mall4j
- https://github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/yami-shop-admin/src/main/java/com/yami/shop/admin/controller/FileController.java#L44-L64
- https://github.com/gz-yami/mall4j/blob/ffc672fc1aa4320ce02d0b93853bb456ae0a4dae/yami-shop-service/src/main/java/com/yami/shop/service/impl/AttachFileServiceImpl.java#L62-L81
More gz-yami vulnerabilities
- TI-2026-65359 mall4j through 4.0 Missing Authentication in Password Update Endpoint CVSS 4.0CRITICAL 9.3
- TI-2026-65360 mall4j through 4.0 Missing Authentication in Product Review Deletion CVSS 4.0MEDIUM 6.9
- TI-2026-75401 Authorization bypass in Mall4cloud exposes buyer shipping addresses CVSS 4.0HIGH 7.1
- TI-2026-65363 mall4j through 4.0 Missing Authorization in Admin User Address Endpoints CVSS 4.0HIGH 7.1
- TI-2026-65361 mall4j through 4.0 Unauthenticated Shipment Tracking Disclosure via Order Number CVSS 4.0MEDIUM 6.3
- TI-2026-70671 Operator precedence error in mall4j deletes other users' cart items CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-102366 · CVE Program
- CVE-2026-102366 · NVD
- FIRST EPSS
- GHSA-ffmx-jjx9-c9cx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences