Cross-site Request Forgery (CSRF) Affecting djust package, versions [,1.0.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (10th percentile)

Do your applications use this vulnerable package?

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 applications
  • Snyk IDSNYK-PYTHON-DJUST-20158894
  • published27 Sept 2026
  • disclosed16 Sept 2026
  • creditUnknown

Introduced: 16 Sep 2026

NewCVE-2026-61593  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade djust to version 1.0.7 or higher.

Overview

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 Cross-site Request Forgery (CSRF) via the session_id parameter and lack of Origin validation in the Server-Sent-Events endpoints. An attacker can perform unauthorized actions as an authenticated user by tricking a victim into visiting a malicious site that initiates requests to the vulnerable endpoints using the victim's credentials.

Workaround

This vulnerability can be mitigated by disabling the SSE transport or placing a proxy in front of it that enforces an Origin allowlist.

CVSS Base Scores

version 4.0
version 3.1