PT-2026-102409 · Mall4J · Mall4J
CVSS v3.1
4.4
Medium
| Vector | AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
mall4j versions prior to 4.1
Description
The software contains an unrestricted file upload issue within the
FileController endpoints. These endpoints lack proper authorization checks and fail to validate uploaded file types. An authenticated attacker can upload HTML or SVG files to the local storage path. When an administrator accesses these files, the uploaded scripts execute in their browser, leading to stored cross-site scripting (XSS), a technique where malicious scripts are permanently stored on the target server.Recommendations
Update mall4j to a version later than 4.0.
Restrict access to the
FileController endpoints to authorized administrative users only.
Implement strict validation for file types uploaded via FileController to block HTML and SVG files.Exploit
Fix
Unrestricted File Upload
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mall4J