Feed
6.1MEDIUM

CVE-2022-22818Cross-site Scripting in Django

A medium-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 2.8% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
2.8%
percentile 87%
Priority
21/100 low
how it is computed
Fix
Named by a source
CVE published 3 Feb 2022

Reference

None of the "Needs attention" rules apply right now.

EPSS 2.8% (+3) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected>= 2.2, < 2.2.27Fixed in2.2.27OSV (PYSEC-2022-19)
    • Affected>= 3.2, < 3.2.12Fixed in3.2.12OSV (PYSEC-2022-19)
    • Affected>= 4.0, < 4.0.2Fixed in4.0.2OSV (PYSEC-2022-19)

Confirmed facts

CVSS
6.1 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-95rw-fx8r-36v6)
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
Weakness
CWE-79

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 17 min ago · osv 16 min ago · nvd 77 min ago · epss 16 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2022-22818, GHSA-95rw-fx8r-36v6, PYSEC-2022-19