1
0
mirror of https://github.com/django/django.git synced 2025-10-09 14:59:24 +00:00
django/docs/releases/4.2.24.txt
Jake Howard 4c044fcc86 [5.2.x] Fixed CVE-2025-57833 -- Protected FilteredRelation against SQL injection in column aliases.
Thanks Eyal Gabay (EyalSec) for the report.

Backport of 51711717098d3f469f795dfa6bc3758b24f69ef7 from main.
2025-09-03 13:15:55 +02:00

15 lines
559 B
Plaintext

===========================
Django 4.2.24 release notes
===========================
*September 3, 2025*
Django 4.2.24 fixes a security issue with severity "high" in 4.2.23.
CVE-2025-57833: Potential SQL injection in ``FilteredRelation`` column aliases
==============================================================================
:class:`.FilteredRelation` was subject to SQL injection in column aliases,
using a suitably crafted dictionary, with dictionary expansion, as the
``**kwargs`` passed to :meth:`.QuerySet.annotate` or :meth:`.QuerySet.alias`.