UBUNTU-CVE-2022-22818
Dashboard / Vulnerabilities / UBUNTU-CVE-2022-22818
UBUNTU-CVE-2022-22818
Published: 1 Feb 2022Last Modified: 4 Feb 2026
Upstream:
Aliases:
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.
References: https://ubuntu.com/security/CVE-2022-22818, https://www.djangoproject.com/weblog/2022/feb/01/security-releases/, https://ubuntu.com/security/notices/USN-5269-1, https://ubuntu.com/security/notices/USN-5269-2, https://www.cve.org/CVERecord?id=CVE-2022-22818
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
