---
title: "Django 5.1.12 release notes"
version: 6.1
locale: it
source: https://docs.djangoproject.com/it/6.1/releases/5.1.12/
canonical: https://djangodocs.dev/it/6.1/releases/5.1.12/
---
# Django 5.1.12 release notes

*September 3, 2025*

Django 5.1.12 fixes a security issue with severity «high» in 5.1.11.

## CVE-2025-57833: Potential SQL injection in `FilteredRelation` column aliases

[`FilteredRelation`](/it/6.1/ref/models/querysets/#django.db.models.FilteredRelation) was subject to SQL injection in column aliases,
using a suitably crafted dictionary, with dictionary expansion, as the
`**kwargs` passed to [`QuerySet.annotate()`](/it/6.1/ref/models/querysets/#django.db.models.query.QuerySet.annotate) or [`QuerySet.alias()`](/it/6.1/ref/models/querysets/#django.db.models.query.QuerySet.alias).
