# CVE-2018-16406: PYSEC-2018-14 - An issue was discovered in Mayan EDMS before 3.0.2. The Cabinets app has XSS via a crafted cabinet label.

Source: https://junglewise.ai/threats/cve-2018-16406-moderate-severity-vulnerability-that-affects-mayan-edms  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-09-03  
License: CC BY 4.0 with a link back

CVE-2018-16406 · Severity: low · CVSS 3 · Published 2018-09-03

An issue was discovered in Mayan EDMS before 3.0.2. The Cabinets app has XSS via a crafted cabinet label.

Technologies: [mayan-edms (PyPI)](https://junglewise.ai/threats/technologies/mayan-edms). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2018-16406 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-16406 being exploited in the wild.

**How severe is CVE-2018-16406?** Low severity, with a CVSS score of 3, published 3 September 2018.

**Which products and versions are affected?** mayan-edms (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.2.

**Is there a fix for CVE-2018-16406?** Yes. mayan-edms (PyPI): upgrade to 3.0.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-16406?** Check whether you run mayan-edms (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mayan-edms (PyPI): upgrade to 3.0.2 or later

  ```sh
  pip install "mayan-edms>=3.0.2"
  ```


## Affected products

- mayan-edms (PyPI) ECOSYSTEM:introduced=0,fixed=3.0.2

## Identifiers

- CVE-2018-16406
- GHSA-5r76-cjf4-c9qx
- PYSEC-2018-14

## Related threats

- [Mayan EDMS open redirect in authentication component](https://junglewise.ai/threats/cve-2025-14692-mayan-edms-open-redirect-in-authentication-component)
- [Mayan EDMS DOM-based XSS in authentication component](https://junglewise.ai/threats/cve-2025-14691-mayan-edms-dom-based-xss-in-authentication-component)
- [PYSEC-2023-276 - An XSS vulnerability was discovered in the Mayan EDMS DMS. Successful XSS exploitation was observed in the in-product tagging system.](https://junglewise.ai/threats/cve-2022-47419-mayan-edms-dms-xss-vulnerability)
- [PYSEC-2018-16 - An issue was discovered in Mayan EDMS before 3.0.2. The Appearance app sets window.location directly, leading to XSS.](https://junglewise.ai/threats/cve-2018-16405-mayan-edms-cross-site-scripting-vulnerability)
- [PYSEC-2018-15 - An issue was discovered in Mayan EDMS before 3.0.3. The Tags app has XSS because tag label values are mishandled.](https://junglewise.ai/threats/cve-2018-16407-moderate-severity-vulnerability-that-affects-mayan-edms)
