CVE-2018-16407 Moderate severity vulnerability that affects mayan-edms

Medium 6.1 Published Updated

Cross-site scripting vulnerability in Mayan EDMS allows attackers to inject malicious scripts via tag labels, potentially compromising user sessions.

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

CVE-2018-16407 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.3. The Tags app has XSS because tag label values are mishandled.

Weakness: CWE-79

Which versions are affected by CVE-2018-16407?

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

PackageAffectedFixed in
mayan-edms PyPIAll versions3.0.3
mayan-edms PyPIAll versions3.0.3
mayan-edms PyPIAll versions3.0.3

Products include Mayan-Edms Mayan Edms.

How do I fix CVE-2018-16407?

Upgrade mayan-edms to 3.0.3 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-16407 being exploited?

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

Sources

Also known as GHSA-5h6m-9mvx-m6c5, PYSEC-2018-15.

Is CVE-2018-16407 in your software?

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

Check your SBOMs for free