CVE-2024-13141 osuuu LightPicture SVG File Upload upload cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via SVG file uploads in LightPicture, potentially executing code in user sessions.

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

CVE-2024-13141 is a medium-severity cross-site scripting vulnerability in osuuu LightPicture, published on 5 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as problematic was found in osuuu LightPicture up to 1.2.2. This vulnerability affects unknown code of the file /api/upload of the component SVG File Upload Handler. The manipulation of the argument file leads to cross site scripting. The attack can be initiated 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-13141?

It affects 1 product.

Products include Osuuu Lightpicture.

How do I fix CVE-2024-13141?

No fix has been published for CVE-2024-13141 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-13141 being exploited?

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

Sources

Also known as GHSA-cmmx-wwp2-x696.

Is CVE-2024-13141 in your software?

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

Check your SBOMs for free