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

  • ALPINE-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 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-22818
    CVE-2022-22818 Alpine Updated 18 November 2026
  • 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
  • GHSA-95rw-fx8r-36v6

    Cross-site Scripting in Django

    Moderate CVE-2022-22818 PyPI Updated 20 September 2024
  • OESA-2022-1530

    python-django security update

    High CVE-2021-45115CVE-2021-45116CVE-2021-45452CVE-2022-22818 openEuler Updated 18 August 2026
  • OESA-2022-2055

    python-django security update

    High CVE-2021-45115CVE-2021-45116CVE-2021-45452CVE-2022-22818 openEuler Updated 18 August 2026
  • PYSEC-2022-19

    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 PyPI Updated 6 December 2023
  • RHSA-2022:5498

    Red Hat Security Advisory: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Red Hat Updated 13 November 2026
  • RHSA-2022:8506

    Red Hat Security Advisory: Satellite 6.12 Release

    CVE-2021-37136CVE-2021-37137CVE-2022-22818CVE-2022-24836 Red Hat Updated 13 November 2026
  • RHSA-2022:8853

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (python-django20) security update

    CVE-2022-22818CVE-2022-23833 Red Hat Updated 13 November 2026
  • RHSA-2022:8872

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (python-django20) security update

    CVE-2022-22818CVE-2022-23833CVE-2022-28346 Red Hat Updated 13 November 2026
  • RLSA-2022:5498

    Moderate: Satellite 6.11 Release

    CVE-2021-21290CVE-2021-21295CVE-2021-21409CVE-2021-30151 Rocky Linux Updated 5 February 2026
  • RLSA-2022:8506

    Important: Satellite 6.12 Release

    CVE-2021-37136CVE-2021-37137CVE-2022-22818CVE-2022-24836 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2022:0285-1

    Security update for python-Django1

    CVE-2022-22818CVE-2022-23833 SUSE Updated 4 February 2026
  • SUSE-SU-2022:0286-1

    Security update for python-Django

    CVE-2021-45452CVE-2022-22818CVE-2022-23833 SUSE Updated 4 February 2026
  • UBUNTU-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 Ubuntu Updated 4 February 2026
  • USN-5269-1

    python-django vulnerabilities

    CVE-2022-22818CVE-2022-23833 Ubuntu Updated 10 February 2026
  • USN-5269-2

    python-django vulnerabilities

    CVE-2022-22818CVE-2022-23833 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2023:0005-1

    Security update for python-Django

    CVE-2021-32052CVE-2021-33203CVE-2021-33571CVE-2021-44420 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11804-1

    python310-Django-4.0.2-1.1 on GA media

    CVE-2022-22818CVE-2022-23833 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14208-1

    python310-Django4-4.2.14-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14662-1

    python311-Django-5.1.5-1.1 on GA media

    CVE-2021-45115CVE-2021-45452CVE-2022-22818CVE-2022-23833 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11235-1

    python313-Django4-4.2.30-4.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 10 July 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References