CVE-2018-16405 mayan-edms Cross-site Scripting vulnerability
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.
| 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 |
mayan-edms-ng PyPI | All versions | 3.0.2 |
mayan-edms-ng PyPI | All versions | 3.0.2 |
mayan-edms-ng PyPI | All versions | 3.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fpcv-j2q9-vqhw, PYSEC-2018-106, PYSEC-2018-16.