CVE-2022-22818

MEDIUM
6.1
CVSS Score
Published: February 3, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 04:29 AM UTC
3 products affected across 3 vendorsDebian LinuxFedoraDjango

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 3%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.2 ≤ v < 2.2.273.2 ≤ v < 3.2.124.0 ≤ v < 4.0.2
Affected range stops below 2.2.27, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.2.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.2, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card