CVE-2026-125112

GHSA-xjw9-38cr-6372 · published 17 Sep 2026 · updated 13 Nov 2026

djust: A template binding inherits a context safety grant it never earned (XSS)

2.3LowCVSS 2.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in djust 1.0.10 and djust 1.1.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
djust-org<1.0.10, >=1.1.0 <1.1.2
pypi: djust<1.0.10, >=1.1.0 <1.1.21.0.10, 1.1.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in djust (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125112 severity on Zeptric[![CVE-2026-125112](https://zeptric.io/badge/cve/CVE-2026-125112.svg)](https://zeptric.io/cve/CVE-2026-125112)