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.
{
"severity": "HIGH",
"github_reviewed": true,
"cwe_ids": [
"CWE-494"
],
"nvd_published_at": "2022-08-03T14:15:00Z",
"github_reviewed_at": "2022-08-11T14:49:12Z"
}