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 djust to version 1.1.2 or higher.
djust is a Phoenix LiveView-style reactive components for Django with Rust-powered performance. Real-time UI updates over WebSocket, no JavaScript build step required.
Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via improper handling of context safety grants during template variable rebinding. An attacker can inject and execute arbitrary scripts by supplying crafted input that is assigned to a context variable previously marked as safe, which is then rebound in template constructs such as {% with %}, {% for %}, {% include ... with %}, or assign tags. This can occur without the use of filter chains or the |safe filter anywhere in the template.
This vulnerability can be mitigated by avoiding the reuse of context names for both trusted (marked safe) content and untrusted input, and by not rebinding such names in {% with %}, {% for %}, {% include ... with %} or assign tags.