CVE-2025-7864 thinkgem JeeSite FileUploadController.java upload unrestricted upload

Medium 5.3 Published Updated

Attackers can upload malicious files to the JeeSite web application, potentially leading to remote code execution.

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-7864?

CVE-2025-7864 is a medium-severity vulnerability in thinkgem JeeSite, published on 20 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in thinkgem JeeSite up to 5.12.0. It has been classified as critical. This affects the function Upload of the file src/main/java/com/jeesite/modules/file/web/FileUploadController.java. The manipulation leads to unrestricted upload. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of the patch is 3585737d21fe490ff6948d913fcbd8d99c41fc08. It is recommended to apply a patch to fix this issue.

Weakness: CWE-434, CWE-284

Which versions are affected by CVE-2025-7864?

It affects 1 product.

Products include Jeesite Jeesite.

How do I fix CVE-2025-7864?

No fix has been published for CVE-2025-7864 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-7864 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7864 exists.

Sources

Also known as GHSA-4xh2-6c5f-qwx3.

Is CVE-2025-7864 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free