CVE-2022-0906 Unrestricted file upload leads to stored XSS in microweber/microweber

Medium 4.3 Published Updated

Attackers can upload malicious files to execute stored XSS scripts, potentially compromising user sessions and data in Microweber CMS.

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
Available

What is CVE-2022-0906?

CVE-2022-0906 is a medium-severity cross-site scripting vulnerability in Microweber Microweber, published on 10 Mar 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Unrestricted file upload leads to stored XSS in GitHub repository microweber/microweber prior to 1.1.12.

Weakness: CWE-79

Which versions are affected by CVE-2022-0906?

2 open source packages ship an affected version, including microweber/microweber. It affects 1 product.

PackageAffectedFixed in
microweber/microweber PackagistAll versions1.2.12
microweber/microweber PackagistAll versions1.2.12

Products include Microweber Microweber.

How do I fix CVE-2022-0906?

Upgrade microweber/microweber to 1.2.12 or later.

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-0906 being exploited?

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

All Microweber Microweber vulnerabilities

Sources

Also known as GHSA-hf4q-52x6-4p57.

Is CVE-2022-0906 in your software?

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

Check your SBOMs for free