CVE-2022-22818

Publication date 1 February 2022

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

6.1 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
python-django 22.04 LTS jammy
Fixed 2:3.2.12-1
21.10 impish
Fixed 2:2.2.24-1ubuntu1.3
20.04 LTS focal
Fixed 2:2.2.12-1ubuntu0.10
18.04 LTS bionic
Fixed 1:1.11.11-1ubuntu1.16
16.04 LTS xenial
14.04 LTS trusty

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Severity score breakdown

Parameter Value
Base score 6.1 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Changed
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-5269-1
    • Django vulnerabilities
    • 3 February 2022
    • USN-5269-2
    • Django vulnerabilities
    • 7 February 2022

Other references