UBUNTU-CVE-2022-22818

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-22818

    UBUNTU-CVE-2022-22818

    Published: 1 Feb 2022Last Modified: 4 Feb 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: python-django

    Purl: pkg:deb/ubuntu/[email protected]+esm4?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.6.11-0ubuntu1.3+esm4

    Affected versions

    1.5.4-1ubuntu1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-22818 | CVE-DB