July 1, 2021
Django 3.2.5 fixes a security issue with severity “high” and several bugs in 3.2.4. Also, the latest string translations from Transifex are incorporated.
QuerySet.order_by()
input¶Unsanitized user input passed to QuerySet.order_by()
could bypass intended
column reference validation in path marked for deprecation resulting in a
potential SQL injection even if a deprecation warning is emitted.
As a mitigation the strict column reference validation was restored for the duration of the deprecation period. This regression appeared in 3.1 as a side effect of fixing #31426.
The issue is not present in the main branch as the deprecated path has been removed.
QuerySet.values_list(…, named=True)
after prefetch_related()
(#32812).BinaryField
, JSONField
, or TextField
to non-nullable
(#32503).BinaryField
, JSONField
, or TextField
with a default value (#32832).app_label
(#32863).Jan 24, 2024