Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
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-cors-headers
to version 3.0.0 or higher.
django-cors-headers is a Django app for handling the server headers required for Cross-Origin Resource Sharing (CORS)
Affected versions of this package are vulnerable to Improper Validation. CORS middleware allows requests between schemes provided by a CORS_ORIGIN_WHITELIST
, and it is possible to allow insecure schemas such as http
. This is remediated in the fixed version.