CVE-2025-52921 File upload in InnoShop
Authenticated attackers can achieve remote code execution by bypassing frontend restrictions to rename uploaded files to .php extensions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-52921?
CVE-2025-52921 is a critical vulnerability in InnoShop, published on 23 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Innoshop through 0.4.1, an authenticated attacker could exploit the File Manager functions in the admin panel to achieve code execution on the server, by uploading a crafted file and then renaming it to have a .php extension by using the Rename Function. This bypasses the initial check that uploaded files are image files. The application relies on frontend checks to restrict the administrator from changing the extension of uploaded files to .php. This restriction is easily bypassed with any proxy tool (e.g., BurpSuite). Once the attacker renames the file, and gives it the .php extension, a GET request can be used to trigger the execution of code on the server.
Weakness: CWE-420
Which versions are affected by CVE-2025-52921?
How do I fix CVE-2025-52921?
No fix has been published for CVE-2025-52921 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-52921 being exploited?
There is no known exploitation of CVE-2025-52921 in the wild and no public exploit code.
Sources
Also known as GHSA-xp47-r464-469h.