Description

An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).

INFO

Published Date :

2025-10-01T00:00:00.000Z

Last Modified :

2025-10-01T19:12:14.952Z

Source :

mitre
AFFECTED PRODUCTS

The following products are affected by CVE-2025-59681 vulnerability.

Vendors Products
Djangoproject
  • Django
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-59681.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact