PYSEC-2025-134
Quick fix
PYSEC-2025-134 — mayan-edms: upgrade to the fixed version with the command below.
pip install --upgrade 'mayan-edms>=4.10.2'Details
A vulnerability was detected in Mayan EDMS up to 4.10.1. The affected element is an unknown function of the file /authentication/. The manipulation results in cross site scripting. The attack may be performed from remote. The exploit is now public and may be used. Upgrading to version 4.10.2 is sufficient to fix this issue. You should upgrade the affected component. The vendor confirms that this is "[f]ixed in version 4.10.2". Furthermore, that "[b]ackports for older versions in process and will be out as soon as their respective CI pipelines complete."
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://docs.mayan-edms.com/chapters/releases/4.10.2.html[ADVISORY]
- https://docs.mayan-edms.com/chapters/releases/4.10.2.html#security[ADVISORY]
- https://vuldb.com/?id.336409[ADVISORY]
- https://vuldb.com/?submit.711713[ADVISORY]
- https://vuldb.com/?ctiid.336409[REPORT]
- https://github.com/ionutluca888/Mayan-EDMS-XSS-POC[EVIDENCE]
- https://github.com/advisories/GHSA-774q-r975-vqwp[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/mayan-edms"]}'