CVE-2022-41994 baserCMS vulnerable to stored Cross-site Scripting

Medium 4.8 Published Updated

An authenticated administrator can inject arbitrary scripts into baserCMS permission settings, potentially leading to code execution or account takeover.

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-41994?

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

Official description

Stored cross-site scripting vulnerability in Permission Settings of baserCMS versions prior to 4.7.2 allows a remote authenticated attacker with an administrative privilege to inject an arbitrary script.

Weakness: CWE-79

Which versions are affected by CVE-2022-41994?

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

PackageAffectedFixed in
baserproject/basercms PackagistAll versions4.7.2
baserproject/basercms PackagistAll versions4.7.2

Products include Basercms Basercms.

How do I fix CVE-2022-41994?

Upgrade baserproject/basercms to 4.7.2 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-41994 being exploited?

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

All Basercms Basercms vulnerabilities

Sources

Also known as GHSA-vxwf-79ch-f7f7.

Is CVE-2022-41994 in your software?

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

Check your SBOMs for free