CVE-2022-1504 XSS in /demo/module/?module=HERE in microweber/microweber

Medium 6.3 Published Updated

Cross-site scripting vulnerability in Microweber allows attackers to inject malicious scripts via the module parameter, potentially leading to session hijacking or code execution.

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

What is CVE-2022-1504?

CVE-2022-1504 is a medium-severity cross-site scripting vulnerability in Microweber Microweber, published on 27 Apr 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

XSS in /demo/module/?module=HERE in GitHub repository microweber/microweber prior to 1.2.15. Typical impact of XSS attacks.

Weakness: CWE-79

Which versions are affected by CVE-2022-1504?

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

PackageAffectedFixed in
microweber/microweber PackagistAll versions1.2.15
microweber/microweber PackagistAll versions1.2.15

Products include Microweber Microweber.

How do I fix CVE-2022-1504?

Upgrade microweber/microweber to 1.2.15 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-1504 being exploited?

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

All Microweber Microweber vulnerabilities

Sources

Also known as GHSA-6xj3-fhrf-rjgc.

Is CVE-2022-1504 in your software?

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

Check your SBOMs for free