Skip to main content

CVE-2026-61593: CWE-352: Cross-Site Request Forgery (CSRF) in djust-org djust

0
High
VulnerabilityCVE-2026-61593cvecve-2026-61593cwe-352
Published: 09/16/2026 (09/16/2026, 15:46:53 UTC)
Source: CVE Database V5
Vendor/Project: djust-org
Product: djust

Description

CVE-2026-61593 is a high-severity Cross-Site Request Forgery (CSRF) vulnerability in djust versions prior to 1.0.7. The issue arises because certain server-sent events (SSE) endpoints were exempt from CSRF protection and lacked Origin checks, allowing a cross-origin attacker to force a victim's browser to perform authenticated state-changing actions. The vulnerability is fixed in version 1.0.7 by enforcing Origin validation and requiring specific Content-Type headers on POST requests.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

djust-org

djust

Affected versions
<1.0.7
GitHub Actionsmore threats →ai
djust-org/djust
pkg:github/djust-org/djust
Affected versions
<1.0.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 16:16:34 UTC

Technical Analysis

djust is a Django reactive server-side rendering tool with Rust-powered performance. Before version 1.0.7, its SSE client-to-server POST endpoints were marked @csrf_exempt, and the SSE GET stream endpoint did not validate the Origin header. This allowed a cross-origin attacker to induce a victim's browser, authenticated via cookies, to initiate SSE sessions and send POST requests with credentials included, triggering state-changing event handlers. The session_id parameter is client-chosen and only format-validated, not serving as a CSRF token. The POST requests used a text/plain content type, which is a CORS simple request and bypassed preflight checks. The fix in 1.0.7 adds Origin validation against ALLOWED_HOSTS for all SSE endpoints and requires POST requests to have Content-Type: application/json, blocking the previous bypass. Workarounds include disabling SSE transport or proxying with an Origin allowlist.

Potential Impact

An attacker can exploit this vulnerability to perform unauthorized state-changing actions on behalf of an authenticated user by leveraging cross-origin requests. This can lead to compromise of user session integrity and unauthorized operations within the djust application context. The CVSS 3.1 score of 8.1 reflects high impact on confidentiality and integrity, with no impact on availability.

Mitigation Recommendations

This vulnerability is fixed in djust version 1.0.7. Users should upgrade to version 1.0.7 or later to ensure all SSE endpoints validate the Origin header and enforce Content-Type requirements on POST requests. As a temporary workaround, disabling the SSE transport or placing a proxy in front of the service that enforces an Origin allowlist can mitigate the risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-10T17:12:17.238Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aaabd8e55bf5e2cf5d47509

Added to database: 09/16/2026, 16:02:22 UTC

Last enriched: 09/16/2026, 16:16:34 UTC

Last updated: 09/16/2026, 16:21:36 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses