Loading...
Skip to main content

CVE-2022-36359 — Vulnerability in django — CVE Details

HIGH

Django vulnerable to Reflected File Download attack

Published August 11, 2022Updated February 4, 2026Source: osv

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.79%). Schedule for your next planned update.

Summary

An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is derived from user-supplied input.

Advisory Timeline

  • First published August 11, 2022 (1523 days ago).
  • Last revised February 4, 2026 — 1272 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update django to 4.0.7 or later
pip install "django>=4.0.7"
pip
Update django to 3.2.15 or later
pip install "django>=3.2.15"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
django
pypi
4.0, 4.0.1, 4.0.2, 4.0.3 (+3 more)4.0.7
django
pypi
1.0.1, 1.0.2, 1.0.3, 1.0.4 (+287 more)3.2.15

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-36359?
Django vulnerable to Reflected File Download attack This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2022-36359?
CVE-2022-36359 affects django. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-36359 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

EPSS Score (30-day exploit probability)
0.79%
Higher than 74% of vulnerabilities

This is an above-median EPSS score — 73.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-8x94-hmjh-97hq
BIT-django-2022-36359
PYSEC-2022-245

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies