{"cve":"CVE-2025-13372","nvd":{"published":"2025-12-02T16:15:53.907","modified":"2026-10-18T18:10:00.100","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-89"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.djangoproject.com/weblog/2025/dec/02/security-releases/"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T22:16:02.354564667+00:00"},"epss":{"cve":"CVE-2025-13372","score":0.00923,"percentile":0.60126,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-rqw2-ghq9-44m7","url":"https://osv.dev/vulnerability/GHSA-rqw2-ghq9-44m7","summary":"Django is vulnerable to SQL injection in column aliases","modified":"2026-09-10T03:50:58.796518425Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2a1 <5.2.9"],"fixed":["5.2.9"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.1a1 <5.1.15"],"fixed":["5.1.15"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2a1 <4.2.27"],"fixed":["4.2.27"]}]},{"id":"PYSEC-2025-104","url":"https://osv.dev/vulnerability/PYSEC-2025-104","summary":"","modified":"2026-06-10T17:01:10.795657512Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=4.2 <4.2.27",">=5.1 <5.1.15",">=5.2 <5.2.9"],"fixed":["4.2.27","5.1.15","5.2.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}