JackQ XCMS Unrestricted File Upload Vulnerability in Backend ProductImageController

Vulnerability

A vulnerability allowing unrestricted file uploads has been identified in JackQ XCMS versions prior to 3fab5342cc509945a7ce1b8ec39d19f701b89261. The issue resides in the backend file upload interface, specifically within the ProductImageController. The vulnerability arises from inadequate validation of uploaded file types, content, and extensions. This flaw enables authenticated attackers to upload malicious files, such as PHP web shells, which can be executed remotely, leading to unauthorized code execution.

Impact

Exploitation of this vulnerability allows for unrestricted file uploads, which can be used to upload and execute malicious files, such as web shells, on the server. This behavior is commonly associated with remote code execution vulnerabilities.

Reproduction

To reproduce this vulnerability, log into the application and navigate to the file upload interface of the ProductImageController. Upload a file through the upload endpoint, ensuring to manipulate the 'file' argument to bypass any file type restrictions. After successfully uploading a file, it can be accessed via HTTP requests, executing any embedded code if the file type is executable.

Added: Dec 27, 2025, 8:18 PM
Updated: Dec 27, 2025, 8:18 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.1
remediation
0.0
relevance
1.7
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.