CVE-2022-4821 FlatPress XML File Handler/MD File admin.uploader.php onupload cross site scripting

Low 2.4 Published Updated

Remote attackers can inject malicious scripts via the uploader, potentially leading to code execution or account takeover in FlatPress.

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

What is CVE-2022-4821?

CVE-2022-4821 is a low-severity cross-site scripting vulnerability in FlatPress, published on 28 Dec 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

A vulnerability classified as problematic was found in FlatPress. This vulnerability affects the function onupload of the file admin/panels/uploader/admin.uploader.php of the component XML File Handler/MD File Handler. The manipulation leads to cross site scripting. The attack can be initiated remotely. The name of the patch is 3cc223dec5260e533a84b5cf5780d3a4fbf21241. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-217000.

Weakness: CWE-79

Which versions are affected by CVE-2022-4821?

It affects 1 product.

Products include Flatpress Flatpress.

How do I fix CVE-2022-4821?

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

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

Sources

Also known as CVE-2023-1103, GHSA-gpvj-w4qp-hf4h.

Is CVE-2022-4821 in your software?

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

Check your SBOMs for free