7.5

CVE-2021-45116: djangoproject django Improper Input Validation

Modified
AliasesGHSA-8c5j-9r9f-c6w8BIT-django-2021-45116PYSEC-2022-2
Published 04-01-2022Last modified 22-05-2025

Vulnerability summary

CVE-2021-45116 is a high (CVSS 7.5) Improper Input Validation vulnerability in djangoproject django. EPSS estimates a 1.98% chance of exploitation in the next 30 days, higher than 80.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.98%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 4

Timeline

  1. 04-01-2022
    PublishedVulnerability first disclosed.
  2. 22-05-2025
    Last modifiedVulnerability information updated.

Description

An issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template Language's variable resolution logic, the dictsort template filter was potentially vulnerable to information disclosure, or an unintended method call, if passed a suitably crafted key.

CVSS metrics

8 scores · 6 sources · 3 versions

EPSS trend

Probability

1.98%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

Increase +0.12 pp

From 1.85% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • py3-django< 3.2.12-r0
Debian1 product
  • python-django< 2:3.2.11-1
Djangoproject1 product
  • django≥ 2.2, < 2.2.26 | ≥ 3.2, < 3.2.11 | ≥ 4.0, < 4.0.1
Fedoraproject1 product
PyPI1 product
  • django≥ 2.2, < 2.2.26 | ≥ 3.2, < 3.2.11 | ≥ 4.0, < 4.0.1
Ubuntu1 product
  • python-djangoAll versions (No fix recorded) | < 1:1.11.11-1ubuntu1.15 | < 2:2.2.12-1ubuntu0.9

6 vendors · 6 products

References

22 links
Show all 22 references