CVE-2025-9400 YiFang CMS P_file.php mergeMultipartUpload unrestricted upload

Medium 5.3 Published Updated

Remote attackers can upload arbitrary files via the mergeMultipartUpload function in YiFang CMS, potentially leading to 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-9400?

CVE-2025-9400 is a medium-severity vulnerability in YiFang CMS, published on 25 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw has been found in YiFang CMS up to 2.0.5. This affects the function mergeMultipartUpload of the file app/utils/base/plugin/P_file.php. This manipulation of the argument File causes unrestricted upload. Remote exploitation of the attack is possible. The exploit has been published and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-434, CWE-284

Which versions are affected by CVE-2025-9400?

It affects 1 product.

Products include Wanglongcn Yifang.

How do I fix CVE-2025-9400?

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

Is CVE-2025-9400 being exploited?

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

Sources

Also known as GHSA-5q3f-j5cg-9xmv.

Is CVE-2025-9400 in your software?

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

Check your SBOMs for free