Feed
9.8CRITICAL

CVE-2022-28346SQL Injection in Django

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 14.8% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
14.8%
percentile 97%
Priority
40/100 medium
how it is computed
Fix
Named by a source
CVE published 12 Apr 2022

Reference

None of the "Needs attention" rules apply right now.

EPSS 14.8% (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 2.2, < 2.2.28Fixed in2.2.28OSV (PYSEC-2022-190)
    • Affected>= 3.2, < 3.2.13Fixed in3.2.13OSV (PYSEC-2022-190)
    • Affected>= 4.0, < 4.0.4Fixed in4.0.4OSV (PYSEC-2022-190)

Confirmed facts

CVSS
9.8 CRITICAL (version 3.1)
Score from
GitHub Advisory Database (GHSA-2gwj-7jmv-h26r)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-89

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. `QuerySet.annotate()`, `aggregate()`, and `extra()` methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed `**kwargs`.

Update history

  • 18 Nov 2025Exploitation more likely 5.0% → 12.5%

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 13 min ago · osv 12 min ago · nvd 73 min ago · epss 12 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2022-28346, GHSA-2gwj-7jmv-h26r, PYSEC-2022-190