CVE-2018-16405 mayan-edms Cross-site Scripting vulnerability

Medium 6.1 Published Updated

Cross-site scripting vulnerability in Mayan EDMS allows attackers to execute arbitrary scripts in user browsers via the Appearance app.

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

CVE-2018-16405 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Sep 2018. 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

An issue was discovered in Mayan EDMS before 3.0.2. The Appearance app sets window.location directly, leading to XSS.

Weakness: CWE-79

Which versions are affected by CVE-2018-16405?

6 open source packages ship an affected version, including mayan-edms and mayan-edms-ng. It affects 1 product.

PackageAffectedFixed in
mayan-edms PyPIAll versions3.0.2
mayan-edms PyPIAll versions3.0.2
mayan-edms PyPIAll versions3.0.2
mayan-edms-ng PyPIAll versions3.0.2
mayan-edms-ng PyPIAll versions3.0.2
mayan-edms-ng PyPIAll versions3.0.2

Products include Mayan-Edms Mayan Edms.

How do I fix CVE-2018-16405?

Upgrade mayan-edms to 3.0.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-2018-16405 being exploited?

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

Sources

Also known as GHSA-fpcv-j2q9-vqhw, PYSEC-2018-106, PYSEC-2018-16.

Is CVE-2018-16405 in your software?

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

Check your SBOMs for free