CVE-2024-12348 Guizhou Xiaoma Technology jpress Attachment Upload upload AttachmentUtils.isUnSafe cross site scripting

Medium 5.3 Published Updated

Remote attackers can execute arbitrary scripts via malicious file uploads in jpress, potentially compromising user sessions and data.

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-2024-12348?

CVE-2024-12348 is a medium-severity cross-site scripting vulnerability in Guizhou Xiaoma Technology jpress, published on 9 Dec 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Guizhou Xiaoma Technology jpress 5.1.2. It has been classified as problematic. Affected is the function AttachmentUtils.isUnSafe of the file /commons/attachment/upload of the component Attachment Upload Handler. The manipulation of the argument files[] leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2024-12348?

It affects 1 product.

Products include Jpress Jpress.

How do I fix CVE-2024-12348?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-12348 being exploited?

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

Sources

Also known as GHSA-cf5p-5qph-mhwp.

Is CVE-2024-12348 in your software?

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

Check your SBOMs for free