CVE-2018-16406 Moderate severity vulnerability that affects mayan-edms
An attacker can inject malicious scripts via crafted cabinet labels in Mayan EDMS, potentially leading to session hijacking or code execution.
- 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-16406?
CVE-2018-16406 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 Cabinets app has XSS via a crafted cabinet label.
Weakness: CWE-79
Which versions are affected by CVE-2018-16406?
3 open source packages ship an affected version, including mayan-edms. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mayan-edms PyPI | All versions | 3.0.2 |
mayan-edms PyPI | All versions | 3.0.2 |
mayan-edms PyPI | All versions | 3.0.2 |
Products include Mayan-Edms Mayan Edms.
How do I fix CVE-2018-16406?
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-16406 being exploited?
There is no known exploitation of CVE-2018-16406 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5r76-cjf4-c9qx, PYSEC-2018-14.