6.1

CVE-2022-22818: debian debian_linux

Modified
AliasesGHSA-95rw-fx8r-36v6BIT-django-2022-22818PYSEC-2022-19
Published 03-02-2022Last modified 03-08-2024

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.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
3.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 19 · Related 11

Timeline

  1. 03-02-2022
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (djangoproject.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
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
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
Show all 24 references