VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2025-13372

โ‡ฑ NVD - CVE-2025-13372


  1. Vulnerabilities

CVE-2025-13372 Detail

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

โ€‚
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://docs.djangoproject.com/en/dev/releases/security/ Django Software Foundation Patch  Vendor Advisory 
https://groups.google.com/g/django-announce Django Software Foundation Mailing List  Release Notes 
https://www.djangoproject.com/weblog/2025/dec/02/security-releases/ Django Software Foundation Patch  Vendor Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Django Software Foundationโ€ƒโ€ƒ

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

5 change records found show changes

CVE Modified by CISA-ADP 6/17/2026 4:34:00 AM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2025-12-02T15:43:29.673288Z","id":"CVE-2025-13372","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by Django Software Foundation 6/17/2026 4:34:00 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"djangoproject","product":"Django","defaultStatus":"unaffected","collectionURL":"https://pypi.org/project/Django/","packageName":"django","repo":"https://github.com/django/django/","versions":[{"version":"5.2","lessThan":"5.2.9","versionType":"semver","status":"affected"},{"version":"5.2.9","versionType":"semver","status":"unaffected"},{"version":"5.1","lessThan":"5.1.15","versionType":"semver","status":"affected"},{"version":"5.1.15","versionType":"semver","status":"unaffected"},{"version":"4.2","lessThan":"4.2.27","versionType":"semver","status":"affected"},{"version":"4.2.27","versionType":"semver","status":"unaffected"}]}]


Initial Analysis by NIST 12/12/2025 7:57:23 AM

Action Type Old Value New Value
Added CPE Configuration
OR
 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 4.2.27
 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.1 up to (excluding) 5.1.15
 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.2 up to (excluding) 5.2.9


Added Reference Type
Django Software Foundation: https://docs.djangoproject.com/en/dev/releases/security/ Types: Patch, Vendor Advisory


Added Reference Type
Django Software Foundation: https://groups.google.com/g/django-announce Types: Mailing List, Release Notes


Added Reference Type
Django Software Foundation: https://www.djangoproject.com/weblog/2025/dec/02/security-releases/ Types: Patch, Vendor Advisory


CVE Modified by CISA-ADP 12/02/2025 11:15:53 AM

Action Type Old Value New Value
Added CVSS V3.1
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N


New CVE Received from Django Software Foundation 12/02/2025 11:15:53 AM

Action Type Old Value New Value
Added 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.


Added CWE
CWE-89


Added Reference
https://docs.djangoproject.com/en/dev/releases/security/


Added Reference
https://groups.google.com/g/django-announce


Added Reference
https://www.djangoproject.com/weblog/2025/dec/02/security-releases/


Quick Info

CVE Dictionary Entry:
CVE-2025-13372
NVD Published Date:
12/02/2025
NVD Last Modified:
06/17/2026
Source:
Django Software Foundation