CVE-2025-5381 Yifang CMS Admin Panel downloadFile path traversal
Remote attackers with admin privileges can exploit a path traversal vulnerability in the Yifang CMS admin panel to read arbitrary files.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5381?
CVE-2025-5381 is a medium-severity path traversal vulnerability in Yifang CMS, published on 31 May 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A vulnerability, which was classified as problematic, was found in Yifang CMS up to 2.0.2. Affected is the function downloadFile of the file /api/File/downloadFile of the component Admin Panel. The manipulation of the argument File leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-22
Which versions are affected by CVE-2025-5381?
It affects 1 product.
Products include Wanglongcn Yifang.
How do I fix CVE-2025-5381?
No fix has been published for CVE-2025-5381 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-5381 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5381 exists.
Other vulnerabilities in Yifang CMS
- CVE-2025-45887 Server-side request forgery in n/a
- CVE-2025-9398 YiFang CMS Migrate.php exportInstallTable information disclosure
- CVE-2025-9399 YiFang CMS L_tool.php sql injection
- CVE-2025-9400 YiFang CMS P_file.php mergeMultipartUpload unrestricted upload
- CVE-2025-11136 YiFang CMS Backend File.php webUploader unrestricted upload
Sources
Also known as GHSA-cw9c-84f2-568f.