CVE-2025-3842 panhainan DS-Java FileUpload.java uploadUserPic.action code injection

Medium 5.3 Published Updated

Remote attackers can execute arbitrary code via the uploadUserPic.action endpoint in panhainan DS-Java due to improper input validation.

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-3842?

CVE-2025-3842 is a medium-severity code injection vulnerability in panhainan DS-Java, published on 21 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in panhainan DS-Java 1.0 and classified as critical. This issue affects the function uploadUserPic.action of the file src/com/phn/action/FileUpload.java. The manipulation of the argument fileUpload leads to code injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-74

Which versions are affected by CVE-2025-3842?

It affects 1 product.

Products include Panhainan Ds-Java.

How do I fix CVE-2025-3842?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-3842 being exploited?

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

Sources

Also known as GHSA-wmcj-gfg9-f64p.

Is CVE-2025-3842 in your software?

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

Check your SBOMs for free