Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-13372 Details

Description

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://docs.djangoproject.com/en/dev/releases/security/ Django Software FoundationPatchVendor Advisory
https://groups.google.com/g/django-announce Django Software FoundationMailing ListRelease Notes
https://www.djangoproject.com/weblog/2025/dec/02/security-releases/ Django Software FoundationPatchVendor Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Django Software Foundation

Affected Products

ProductVersions
djangoproject django
>= 4.2, < 4.2.27
>= 5.1, < 5.1.15
>= 5.2, < 5.2.9

CPE

  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-13372
NVD Published Date:
Dec 2, 2025
NVD Last Modified:
Oct 18, 2026
Source:
Django Software Foundation
CVE-2025-13372 Details - Not Deferred