Read the docs

Cross-site scripting in djust template bindings

Priority LOW 12CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

djust, a Phoenix LiveView-style reactive server-side rendering library for Django, is affected from 1.1.0 before 1.1.2 and before 1.0.10. Its context output-safety grants are keyed by variable name and are not revoked when a template bind replaces the value under that name, which is an improper escaping of output (CWE-116). An attacker who can supply template values can make a rebound name emit unescaped content, enabling cross-site scripting (CWE-79) when a victim renders the affected template.

Written with Claude Haiku 5.5 from the sources below · 2026-11-09

Description from the CNA

djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance. Prior to versions 1.0.10 and 1.1.2, djust keys context output-safety grants by variable name and fails to revoke a grant when a template bind replaces the value associated with that name. A template using {% with %}, {% for %}, {% include ... with %}, tuple unpacking, or assign tags can therefore rebind a name that previously held mark_safe content and emit the new attacker-controlled value without escaping, including descendant lookups through the rebound name. This can cause stored or reflected cross-site scripting when a victim renders the affected template. This issue is fixed in versions 1.0.10 and 1.1.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00343 28th percentileScored 2026-11-16
Fix Fixed djust (djust-org): 1.0.10, 1.1.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
djust-orgdjustbefore 1.0.10; 1.1.0 to before 1.1.21.0.10, 1.1.2Patch availableCNA
  • djust Vendordjust-org Affected before 1.0.10; 1.1.0 to before 1.1.2 Fixed in 1.0.10, 1.1.2 Patch available CNA

Remediation

Upgrade djust to version 1.0.10 or 1.1.2, which fix this issue. CISA does not list this vulnerability in its Known Exploited Vulnerabilities catalog.

Written with Claude Haiku 5.5 from the sources below · 2026-11-09

  • Fix · CNA djust (djust-org) Fixed in 1.0.10, 1.1.2

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-125112
  2. 2026-11-13 CISA SSVC decision points changed

References

  • TI-2026-40112 Improper authorization in djust-org djust CVSS 3.1HIGH 8.2
  • TI-2026-78534 Arbitrary file read in djust find_handlers_for_template MCP tool CVSS 3.1LOW 3.3
  • TI-2026-44127 djust has an unauthenticated arbitrary module import via the WebSocket/SSE view-mount path CVSS 4.0HIGH 8.8
  • TI-2026-44122 djust has an authorization bypass on the WebSocket/SSE mount path CVSS 3.1CRITICAL 9.1
  • TI-2026-44121 Cross-site request forgery in djust-org djust CVSS 3.1HIGH 8.1
  • TI-2026-44119 djust: Unsigned client state snapshot is restored as trusted view state (privilege escalation / state injection) CVSS 3.1HIGH 8.1
See all 14 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences