{"id":"CVE-2026-125112","published":"2026-11-09T22:08:05Z","modified":"2026-11-13T13:31:04Z","title":"djust: A template binding inherits a context safety grant it never earned (XSS)","vendor":"djust-org","product":"djust","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00343,"percentile":0.28512,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/djust-org/djust/security/advisories/GHSA-xjw9-38cr-6372","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/djust-org/djust/pull/2444","tags":["x_refsource_MISC"]},{"url":"https://github.com/djust-org/djust/commit/06d213dbdd82f5b1c2affe2f869ae88a71809e4a","tags":["x_refsource_MISC"]},{"url":"https://github.com/djust-org/djust/commit/5288e5dbc8d83d8aee8a22a0a7a3a478461c8965","tags":["x_refsource_MISC"]},{"url":"https://github.com/djust-org/djust/releases/tag/v1.0.10","tags":["x_refsource_MISC"]},{"url":"https://github.com/djust-org/djust/releases/tag/v1.1.2","tags":["x_refsource_MISC"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":5.7},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"djust-org","affectedVersions":[{"vendor":"djust-org","product":"djust","versions":["< 1.0.10",">= 1.1.0, < 1.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T13:30:15.854888Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"djust","vulnerableRanges":["<1.0.10",">=1.1.0, <1.1.2"],"patched":["1.0.10","1.1.2"],"from":["GHSA-xjw9-38cr-6372"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-120493","exploited":false,"provenance":"source"}}