Skip to content

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

LowCVSS 2.3 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi djust(PyPI) < 1.0.10; = 0.1.0; = 0.1.2; = 0.1.3 +43 more 1.0.10, 1.1.2 Fixed
djust-org djust = < 1.0.10; = >= 1.1.0, < 1.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi djust(PyPI) < 1.0.10 1.0.10
pypi djust(PyPI) = 0.1.0 No fix listed
pypi djust(PyPI) = 0.1.2 No fix listed
pypi djust(PyPI) = 0.1.3 No fix listed
pypi djust(PyPI) = 0.1.4 No fix listed
pypi djust(PyPI) = 0.1.5 No fix listed
pypi djust(PyPI) = 0.1.6 No fix listed
pypi djust(PyPI) = 0.1.7 No fix listed
pypi djust(PyPI) = 0.1.8 No fix listed
pypi djust(PyPI) = 0.1.9 No fix listed
pypi djust(PyPI) = 0.2.0 No fix listed
pypi djust(PyPI) = 0.2.1 No fix listed
pypi djust(PyPI) = 0.2.2 No fix listed
pypi djust(PyPI) = 0.3.0 No fix listed
pypi djust(PyPI) = 0.3.1 No fix listed
pypi djust(PyPI) = 0.3.2 No fix listed
pypi djust(PyPI) = 0.3.4 No fix listed
pypi djust(PyPI) = 0.3.5 No fix listed
pypi djust(PyPI) = 0.3.6 No fix listed
pypi djust(PyPI) = 0.3.7 No fix listed
pypi djust(PyPI) = 0.3.8 No fix listed
pypi djust(PyPI) = 0.4.0 No fix listed
pypi djust(PyPI) = 0.4.1 No fix listed
pypi djust(PyPI) = 0.4.2 No fix listed
pypi djust(PyPI) = 0.4.3 No fix listed
Show 24 more
ProductAffected versionsFixed in
pypi djust(PyPI) = 0.4.4 No fix listed
pypi djust(PyPI) = 0.9.0 No fix listed
pypi djust(PyPI) = 0.9.1 No fix listed
pypi djust(PyPI) = 0.9.2 No fix listed
pypi djust(PyPI) = 0.9.4 No fix listed
pypi djust(PyPI) = 0.9.5 No fix listed
pypi djust(PyPI) = 0.9.6 No fix listed
pypi djust(PyPI) = 0.9.7 No fix listed
pypi djust(PyPI) = 1.0.0 No fix listed
pypi djust(PyPI) = 1.0.0rc11 No fix listed
pypi djust(PyPI) = 1.0.1 No fix listed
pypi djust(PyPI) = 1.0.2 No fix listed
pypi djust(PyPI) = 1.0.3 No fix listed
pypi djust(PyPI) = 1.0.4 No fix listed
pypi djust(PyPI) = 1.0.5 No fix listed
pypi djust(PyPI) = 1.0.6 No fix listed
pypi djust(PyPI) = 1.0.7 No fix listed
pypi djust(PyPI) = 1.0.8 No fix listed
pypi djust(PyPI) = 1.0.9 No fix listed
pypi djust(PyPI) >= 1.1.0, < 1.1.2 1.1.2
pypi djust(PyPI) = 1.1.0 No fix listed
pypi djust(PyPI) = 1.1.1 No fix listed
djust-org djust = < 1.0.10 No fix listed
djust-org djust = >= 1.1.0, < 1.1.2 No fix listed

References