CVE-2024-12042 Cross-site scripting in MStore API – Create Native Android & iOS Apps On The Cloud

Medium 5.4 Published Updated

Authenticated attackers can upload malicious HTML files to execute arbitrary scripts in victim browsers via stored XSS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-12042?

CVE-2024-12042 is a medium-severity cross-site scripting vulnerability in inspireui MStore API – Create Native Android & iOS Apps On The Cloud, published on 13 Dec 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

The MStore API – Create Native Android & iOS Apps On The Cloud plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the profile picture upload functionality in all versions up to, and including, 4.16.4 due to insufficient file type validation. This makes it possible for authenticated attackers, with subscriber-level access and above, to upload HTML files with arbitrary web scripts that will execute whenever a user accesses the file.

Weakness: CWE-79, CWE-434

Which versions are affected by CVE-2024-12042?

It affects 1 product.

Products include Inspireui Mstore Api.

How do I fix CVE-2024-12042?

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

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

Sources

Also known as GHSA-gjq7-3xfx-fg78.

Is CVE-2024-12042 in your software?

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

Check your SBOMs for free