CVE-2025-9399 YiFang CMS L_tool.php sql injection
Remote attackers can exploit SQL injection in YiFang CMS via the new_url argument to read or modify database contents.
- 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-9399?
CVE-2025-9399 is a medium-severity SQL injection 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 vulnerability was detected in YiFang CMS up to 2.0.5. Affected by this issue is some unknown functionality of the file app/logic/L_tool.php. The manipulation of the argument new_url results in sql injection. The attack may be launched remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2025-9399?
It affects 1 product.
Products include Wanglongcn Yifang.
How do I fix CVE-2025-9399?
No fix has been published for CVE-2025-9399 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-9399 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9399 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-9400 YiFang CMS P_file.php mergeMultipartUpload unrestricted upload
- CVE-2025-11136 YiFang CMS Backend File.php webUploader unrestricted upload
- CVE-2025-5381 Yifang CMS Admin Panel downloadFile path traversal
Sources
Also known as GHSA-x9w6-w79w-w3r4.