CVE-2025-57833
Last modified
CVE-2025-57833 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().. EPSS estimates a 15.60% chance of exploitation in the next 30 days.
Description
An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annotate() or QuerySet.alias().
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 4.2, < 4.2.24 |
| Djangoproject | Django | >= 5.1, < 5.1.12 |
| Djangoproject | Django | >= 5.2, < 5.2.6 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
- https://groups.google.com/g/django-announceVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-57833?
How severe is CVE-2025-57833?
How do I fix CVE-2025-57833?
Are you affected by CVE-2025-57833?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
