CVE-2018-18943 XSS in baserCMS before 4.1.4

Medium 4.8 Published Updated

An attacker can inject malicious scripts via the category name field in the Upload menu, potentially compromising admin sessions.

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-2018-18943?

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

Official description

An issue was discovered in baserCMS before 4.1.4. In the Register New Category feature of the Upload menu, the category name can be used for XSS via the data[UploaderCategory][name] parameter to an admin/uploader/uploader_categories/edit URI.

Weakness: CWE-79

Which versions are affected by CVE-2018-18943?

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

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

Products include Basercms Basercms.

How do I fix CVE-2018-18943?

Upgrade baserproject/basercms to 4.1.4 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-2018-18943 being exploited?

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

All Basercms Basercms vulnerabilities

Sources

Also known as GHSA-fx2m-5m9v-jhgp.

Is CVE-2018-18943 in your software?

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

Check your SBOMs for free