Skip to content

Commit 5aa4b0f

Browse files
1 parent ffa9476 commit 5aa4b0f

File tree

2 files changed

+127
-44
lines changed

2 files changed

+127
-44
lines changed
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-rqw2-ghq9-44m7",
4+
"modified": "2025-12-03T14:07:26Z",
5+
"published": "2025-12-02T18:30:35Z",
6+
"aliases": [
7+
"CVE-2025-13372"
8+
],
9+
"summary": "Django is vulnerable to SQL injection in column aliases",
10+
"details": "An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Stackered for reporting this issue.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "PyPI",
21+
"name": "Django"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "5.2a1"
29+
},
30+
{
31+
"fixed": "5.2.9"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "PyPI",
40+
"name": "Django"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "5.1a1"
48+
},
49+
{
50+
"fixed": "5.1.15"
51+
}
52+
]
53+
}
54+
]
55+
},
56+
{
57+
"package": {
58+
"ecosystem": "PyPI",
59+
"name": "Django"
60+
},
61+
"ranges": [
62+
{
63+
"type": "ECOSYSTEM",
64+
"events": [
65+
{
66+
"introduced": "4.2a1"
67+
},
68+
{
69+
"fixed": "4.2.27"
70+
}
71+
]
72+
}
73+
]
74+
}
75+
],
76+
"references": [
77+
{
78+
"type": "ADVISORY",
79+
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-13372"
80+
},
81+
{
82+
"type": "WEB",
83+
"url": "https://github.com/django/django/commit/479415ce5249bcdebeb6570c72df2a87f45a7bbf"
84+
},
85+
{
86+
"type": "WEB",
87+
"url": "https://github.com/django/django/commit/56aea00c3c5e1aacf4ed05f8ee06c2e78f02cea0"
88+
},
89+
{
90+
"type": "WEB",
91+
"url": "https://github.com/django/django/commit/5b90ca1e7591fa36fccf2d6dad67cf1477e6293e"
92+
},
93+
{
94+
"type": "WEB",
95+
"url": "https://github.com/django/django/commit/9c6a5bde24240382807d13bc3748d08444709355"
96+
},
97+
{
98+
"type": "WEB",
99+
"url": "https://github.com/django/django/commit/f997037b235f6b5c9e7c4a501491ec45f3400f3d"
100+
},
101+
{
102+
"type": "WEB",
103+
"url": "https://docs.djangoproject.com/en/dev/releases/security"
104+
},
105+
{
106+
"type": "PACKAGE",
107+
"url": "https://github.com/django/django"
108+
},
109+
{
110+
"type": "WEB",
111+
"url": "https://groups.google.com/g/django-announce"
112+
},
113+
{
114+
"type": "WEB",
115+
"url": "https://www.djangoproject.com/weblog/2025/dec/02/security-releases"
116+
}
117+
],
118+
"database_specific": {
119+
"cwe_ids": [
120+
"CWE-89"
121+
],
122+
"severity": "MODERATE",
123+
"github_reviewed": true,
124+
"github_reviewed_at": "2025-12-03T14:07:25Z",
125+
"nvd_published_at": "2025-12-02T16:15:53Z"
126+
}
127+
}

advisories/unreviewed/2025/12/GHSA-rqw2-ghq9-44m7/GHSA-rqw2-ghq9-44m7.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)