CVE-2021-45116: Djangoproject Django

High severity, CVSS 7.5. EPSS: 1.8% chance of exploitation in the next 30 days.

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.

Affected products

  • Djangoproject Django: from 2.2, before 2.2.26 (fixed in 2.2.26); from 3.2, before 3.2.11 (fixed in 3.2.11); from 4.0, before 4.0.1 (fixed in 4.0.1)
  • Fedoraproject Fedora: version 35 only

Published 2022-01-05. Last modified 2026-06-17.