In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade django-sendfile2 to version 0.7.0 or higher.
django-sendfile2 is an Abstraction to offload file uploads to web-server (e.g. Apache with mod_xsendfile) once Django has checked permissions etc.
Affected versions of this package are vulnerable to Reflected File Download (RFD) in the sendfile() function in utils.py. An attacker can cause the loading of a malicious file by supplying a crafted attachment filename. This is parallel to the vulnerability in Django described by CVE-2022-36359.