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.
CVSS Details
- CVSS 3.1 Base Score: 7.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-py3-django | Oct 10, 2024 | Aug 7, 2024 | |
| Debian | debian-upgrade-python-django | May 15, 2025 | Aug 7, 2024 | |
| Freebsd | freebsd-upgrade-package-py39-django42freebsd-upgrade-package-py310-django42freebsd-upgrade-package-py311-django42freebsd-upgrade-package-py310-django50freebsd-upgrade-package-py311-django50 | Aug 7, 2024 | Aug 7, 2024 | |
| Gentoo Linux | gentoo-linux-upgrade-dev-python-django | Sep 18, 2025 | Sep 17, 2025 | |
| Suse | — | suse-upgrade-python3-djangosuse-upgrade-python311-django | Aug 8, 2024 | Aug 7, 2024 |
| Ubuntu | ubuntu-pro-upgrade-python-djangoubuntu-pro-upgrade-python3-djangoubuntu-upgrade-python3-django | Aug 7, 2024 | Aug 6, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub