GHSA-pv4p-cwwg-4rph
GitHub Security Advisory
Django SQL injection vulnerability
✓ GitHub Reviewed
CRITICAL
Has CVE
Advisory Details
An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.
Affected Packages
PyPI
Django
Affected versions:
5.0
(fixed in 5.0.8)
PyPI
Django
Affected versions:
4.2
(fixed in 4.2.15)
Related CVEs
Key Information
9.0
/10
Dataset
Last updated: September 9, 2025 6:37 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.