Vulnerabilities in pkg:pypi/django-mdeditor

PACKAGE
Advisory Identifier: GHSA-qp2c-xqv6-phh6
Advisory Summary

CVE-2025-13030 is a LOW (CVSS 7.1) django-mdeditor is missing authentication for vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Django mdeditor libraries in the PyPI ecosystem. The issue involves django-mdeditor is missing authentication for critical function. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/django-mdeditor

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/django-mdeditor. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-qp2c-xqv6-phh6 CVE-2025-13030 LOW django-mdeditor is Missing Authentication for Critical Function

CVE-2025-13030 at a Glance

CVE Identifier CVE-2025-13030
GHSA Identifier GHSA-qp2c-xqv6-phh6
Severity LOW
CVSS v3.1 Base Score 7.1
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Django mdeditor
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-13030

To remediate this vulnerability, upgrade all affected Django mdeditor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

django-mdeditor fixed: Latest secure release
pip install django-mdeditor>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show django-mdeditor

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-13030, inspect your installed packages using pip:

pip show django-mdeditor

Analyze the terminal output to locate any version of Django mdeditor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show django-mdeditor command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Django mdeditor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2025-13030 Affected Django mdeditor Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
django-mdeditor
PyPI
≤ 0.1.20

References

Frequently Asked Questions

What is CVE-2025-13030?
CVE-2025-13030 is a security vulnerability in Django mdeditor involving django-mdeditor is Missing Authentication for Critical Function under CWE-306: Missing Authentication for Critical Function.
Which Django mdeditor versions are affected?
Affected versions include releases prior to current release patches across affected packages: django-mdeditor.
What version fixes CVE-2025-13030?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is django-mdeditor affected?
Yes, django-mdeditor is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-13030?
CVE-2025-13030 has a CVSS v3.1 base score of 7.1 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L.
What CWE is associated with CVE-2025-13030?
CVE-2025-13030 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check PyPI dependencies for CVE-2025-13030?
Run the dependency tree command: 'pip show django-mdeditor'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qp2c-xqv6-phh6",
  "modified" : "2026-05-06T23:41:03Z",
  "published" : "2026-04-30T06:30:30Z",
  "aliases" : [ "CVE-2025-13030" ],
  "summary" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "django-mdeditor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.1.20"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-13030"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pylixm/django-mdeditor/issues/151"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pylixm/django-mdeditor/pull/185"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pylixm/django-mdeditor/commit/3e80f9edcabc5d2fc136b05a501964b8a5e97cfe"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pylixm/django-mdeditor"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pylixm/django-mdeditor/blob/e8dd73fb8571ddff2e7a20a4bfa88c376cc33b62/mdeditor/views.py%23L25"
  }, {
    "type" : "WEB",
    "url" : "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGOMDEDITOR-8630926"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T23:41:03Z",
    "nvd_published_at" : "2026-04-30T06:16:14Z"
  }
}