CVE-2018-16406: Mayan EDMS XSS Vulnerability

mayan-edms Updated 02 Oct 2025

Summary

03/09/2018
Yes i
Moderate
6.1

CVE-2018-16406: An issue was discovered in Mayan EDMS before 3.0.2. The Cabinets app has XSS via a crafted cabinet label. Affects mayan-edms versions < 3.0.2. Fixed in 3.0.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Mayan EDMS is an open-source document management system that allows users to store, organize, and manage documents in a digital format. It provides features such as document indexing, version control, and workflow automation. The Cabinets app in Mayan EDMS is responsible for managing cabinets, which are used to categorize and label documents. This vulnerability allows an attacker to execute cross-site scripting (XSS) attacks by exploiting a flaw in the cabinet label functionality.

Vulnerability Detail

The XSS vulnerability in Mayan EDMS allows an attacker to inject malicious code into the cabinet label field. When a user views a cabinet with a crafted label, the injected code is executed in the context of the user's browser. This can lead to various consequences, including the theft of sensitive information, session hijacking, or the execution of arbitrary actions on behalf of the user. The vulnerability was fixed in version 3.0.2 of Mayan EDMS.

How To Fix

Latest published version: 4.12.2 as of 22 Oct 2026

pip install --upgrade "mayan-edms==4.12.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.0.2

This is the first release that contains the fix.

pip install --upgrade "mayan-edms==3.0.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by ensuring that only trusted individuals have access to the Mayan EDMS system and by monitoring for any suspicious activity.

Conclusion

The XSS vulnerability in Mayan EDMS allows attackers to execute malicious code by exploiting a flaw in the cabinet label functionality. Users are advised to upgrade to version 3.0.2 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for mayan-edms →

Share this vulnerability

FAQ

Mayan EDMS is an open-source document management system that allows users to store, organize, and manage documents in a digital format.

The Cabinets app in Mayan EDMS is responsible for managing cabinets, which are used to categorize and label documents.

Cross-site scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

The potential consequences of this vulnerability include the theft of sensitive information, session hijacking, or the execution of arbitrary actions on behalf of the user.

To protect your Mayan EDMS installation, make sure to upgrade to version 3.0.2 or later and regularly apply software updates to ensure the latest security patches are applied.

Related vulnerabilities

Recent vulnerabilities recorded for mayan-edms.

How To Fix

Latest published version: 4.12.2 as of 22 Oct 2026

pip install --upgrade "mayan-edms==4.12.2"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3.0.2

This is the first release that contains the fix.

pip install --upgrade "mayan-edms==3.0.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback