CVE-2021-39136 Cross-site scripting vulnerability in file upload

High 8.7 Published Updated

Attackers can inject malicious scripts via file uploads in baserCMS, potentially leading to code execution or account takeover.

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

What is CVE-2021-39136?

CVE-2021-39136 is a high-severity cross-site scripting vulnerability in Basercms Basercms, published on 25 Aug 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

baserCMS is an open source content management system with a focus on Japanese language support. In affected versions there is a cross-site scripting vulnerability in the file upload function of the management system of baserCMS. Users are advised to update as soon as possible. No workaround are available to mitigate this issue.

Weakness: CWE-79

Which versions are affected by CVE-2021-39136?

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

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

Products include Basercms Basercms.

How do I fix CVE-2021-39136?

Upgrade baserproject/basercms to 4.5.1 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-2021-39136 being exploited?

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

All Basercms Basercms vulnerabilities

Sources

Also known as GHSA-hgjr-632x-qpp3.

Is CVE-2021-39136 in your software?

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

Check your SBOMs for free