CVE-2025-4305 kefaming mayi File.php upload unrestricted upload

Medium 5.3 Published Updated

Attackers can upload malicious files to the mayi 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-4305?

CVE-2025-4305 is a medium-severity vulnerability in kefaming mayi, published on 6 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in kefaming mayi up to 1.3.9 and classified as critical. This vulnerability affects the function Upload of the file app/tools/controller/File.php. The manipulation of the argument File leads to unrestricted upload. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-434, CWE-284

Which versions are affected by CVE-2025-4305?

How do I fix CVE-2025-4305?

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

Is CVE-2025-4305 being exploited?

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

Sources

Also known as GHSA-j63m-9pxg-9gv7.

Is CVE-2025-4305 in your software?

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

Check your SBOMs for free