ADVISORIES

Vulnerability

CVE-2022-22818

The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.

28 advisories report this vulnerability, across 9 ecosystems.

Advisories in Debian

  • DEBIAN-CVE-2022-22818

    The {% debug %} template tag in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2 does not properly encode the current context. This may lead to XSS.

    CVE-2022-22818 Debian Updated 20 November 2026
  • DLA-2906-1

    python-django - security update

    CVE-2022-22818CVE-2022-23833 Debian Updated 20 November 2026
  • DLA-3191-1

    python-django - security update

    CVE-2021-45452CVE-2022-22818CVE-2022-23833 Debian Updated 20 November 2026
  • DSA-5254-1

    python-django - security update

    CVE-2022-22818CVE-2022-23833CVE-2022-28346CVE-2022-28347 Debian Updated 20 November 2026

References