CVE-2022-0678 Cross-site Scripting (XSS) - Reflected in microweber/microweber

Medium 6.5 Published Updated

Attackers can execute arbitrary scripts in user browsers via reflected XSS in Microweber, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0678?

CVE-2022-0678 is a medium-severity cross-site scripting vulnerability in Microweber Microweber, published on 19 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Cross-site Scripting (XSS) - Reflected in Packagist microweber/microweber prior to 1.2.11.

Weakness: CWE-79

Which versions are affected by CVE-2022-0678?

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

PackageAffectedFixed in
microweber/microweber PackagistAll versions1.2.11
microweber/microweber PackagistAll versions1.2.11

Products include Microweber Microweber.

How do I fix CVE-2022-0678?

Upgrade microweber/microweber to 1.2.11 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-0678 being exploited?

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

Public exploit code: 1 Nuclei template.

All Microweber Microweber vulnerabilities

Sources

Also known as GHSA-38m9-3vg4-rwvp.

Is CVE-2022-0678 in your software?

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

Check your SBOMs for free