HIGH7.1
PYSEC-2026-2450
django-mdeditor is Missing Authentication for Critical Function
Details
All versions of the package django-mdeditor are vulnerable to Missing Authentication for Critical Function in the image upload endpoint. An attacker can upload malicious files and achieve arbitrary code execution since this endpoint lacks authentication protection and proper sanitisation of file names.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/django-mdeditor
Introduced in:
0No fixed version published yet for django-mdeditor (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-13030[ADVISORY]
- https://github.com/pylixm/django-mdeditor/issues/151[WEB]
- https://github.com/pylixm/django-mdeditor/pull/185[WEB]
- https://github.com/pylixm/django-mdeditor/commit/3e80f9edcabc5d2fc136b05a501964b8a5e97cfe[WEB]
- https://github.com/pylixm/django-mdeditor[PACKAGE]
- https://github.com/pylixm/django-mdeditor/blob/e8dd73fb8571ddff2e7a20a4bfa88c376cc33b62/mdeditor/views.py%23L25[WEB]
- https://security.snyk.io/vuln/SNYK-PYTHON-DJANGOMDEDITOR-8630926[WEB]
- https://pypi.org/project/django-mdeditor[PACKAGE]
- https://github.com/advisories/GHSA-qp2c-xqv6-phh6[ADVISORY]