CVE-2026-125112
LOW 2.3CVSS 4.0djust: A template binding inherits a context safety grant it never earned (XSS)
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.
- Published
- 9 Nov 2026
- Last modified
- 13 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-116CWE-79
- Also known as
- GHSA-xjw9-38cr-6372
- Sources
- NVDJSONOSV GHSA-xjw9-38cr-6372JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | djust | < 1.0.10 | 1.0.10 |
| OSV | PyPI | djust | >= 1.1.0, < 1.1.2 | 1.1.2 |
References
- https://github.com/djust-org/djust/commit/06d213dbdd82f5b1c2affe2f869ae88a71809e4a · WEB
- https://github.com/djust-org/djust/commit/5288e5dbc8d83d8aee8a22a0a7a3a478461c8965 · WEB
- https://github.com/djust-org/djust/pull/2444 · WEB
- https://github.com/djust-org/djust/releases/tag/v1.0.10 · WEB
- https://github.com/djust-org/djust/releases/tag/v1.1.2 · WEB
- https://github.com/djust-org/djust/security/advisories/GHSA-xjw9-38cr-6372 · WEB
- https://github.com/djust-org/djust · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 9 Nov 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Sep 2026)