CVE-2022-22818: debian debian_linux
Vulnerability summary
CVE-2022-22818 is a medium (CVSS 6.1) vulnerability in debian debian_linux. EPSS estimates a 3.36% chance of exploitation in the next 30 days, higher than 88.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 19 · Related 11Timeline
- 03-02-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
3.36%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.36% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (djangoproject.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- python-django< 2:3.2.12-1
- debian_linuxEOL11.0
Alpine1 product
- py3-django< 3.2.12-r0
Djangoproject1 product
- django≥ 2.2, < 2.2.27 | ≥ 3.2, < 3.2.12 | ≥ 4.0, < 4.0.2
Fedoraproject1 product
- fedoraEOL35
PyPI1 product
- django≥ 2.2, < 2.2.27 | ≥ 3.2, < 3.2.12 | ≥ 4.0, < 4.0.2
Ubuntu1 product
- python-django< 1.6.11-0ubuntu1.3+esm4 | < 1.8.7-1ubuntu5.15+esm4 | < 1:1.11.11-1ubuntu1.16 | < 2:2.2.12-1ubuntu0.10
6 vendors · 7 products
References
24 links- www.djangoproject.com/weblog/2022/feb/01/security-releases/ARTICLEREPORTExploitPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- security.netapp.com/advisory/ntap-20220221-0003/Third Party Advisory
Show all 24 references
- github.com/django/djangoPACKAGE