CVE-2025-4258 zhangyanbo2007 youkefu MediaController.java upload unrestricted upload

Medium 5.3 Published Updated

Remote attackers can upload malicious files via the MediaController upload function, 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-4258?

CVE-2025-4258 is a medium-severity vulnerability in zhangyanbo2007 youkefu, published on 5 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, was found in zhangyanbo2007 youkefu up to 4.2.0. Affected is the function Upload of the file \youkefu-master\src\main\java\com\ukefu\webim\web\handler\resource\MediaController.java. The manipulation of the argument imgFile leads to unrestricted upload. It is possible to launch the attack 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-4258?

It affects 1 product.

Products include Zhangyanbo2007 Youkefu.

How do I fix CVE-2025-4258?

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

Is CVE-2025-4258 being exploited?

There is no known exploitation of CVE-2025-4258 in the wild and no public exploit code.

Sources

Also known as GHSA-qrr9-59r3-8w49.

Is CVE-2025-4258 in your software?

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

Check your SBOMs for free