VYPR
Moderate severityNVD Advisory· Published Sep 3, 2018· Updated Aug 5, 2024

CVE-2018-16407

CVE-2018-16407

Description

Mayan EDMS before 3.0.3 suffers from a stored XSS vulnerability in the Tags app where unescaped tag label values execute JavaScript in user browsers.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Mayan EDMS before 3.0.3 suffers from a stored XSS vulnerability in the Tags app where unescaped tag label values execute JavaScript in user browsers.

Vulnerability

The vulnerability is a stored cross-site scripting (XSS) issue in the Tags app of Mayan EDMS versions prior to 3.0.3. When a tag's label value is not properly sanitized, the unsanitized value is injected into the DOM via JavaScript templates (mayan_app.js lines 62 and 71) during tag selection in document upload workflows. [1][4]

Exploitation

An attacker must have the ability to create or modify tags (typically any authenticated user can do so). The attacker creates a tag with a malicious label, such as test. When a victim user goes to upload a document, selects a document type, and then clicks into the tag input field, the application dynamically generates a `` element containing the unescaped label. This results in the injected script executing in the victim's browser context. [4]

Impact

Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's session. This can lead to session hijacking, unauthorized actions performed on behalf of the victim, data exfiltration, or defacement of the application interface. The impact is scoped to the browser and the victim's privileges within Mayan EDMS. [1][4]

Mitigation

The issue is fixed in Mayan EDMS version 3.0.3 and later. Users should upgrade to the latest version. No official workaround is documented in the references. [1][2]

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mayan-edmsPyPI
< 3.0.33.0.3

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

6

News mentions

0

No linked articles in our index yet.