Shellfeed logo Shellfeed

CVE-2026-125112 · HIGH

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

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 28.2).

Details

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.

Severity

HIGH — 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

Affected packages

  • PyPI djust [0 – 1.0.10]
  • PyPI djust [1.1.0 – 1.1.2]
  • GIT github.com/djust-org/djust [0 – c615635e8bfdb2b333658dbc28ce4b793541cdb0] [de44fa0387807348082de560024c4dfa5aa8b3c6 – de163a0e9236478b4a538f65bc2c7f6ea2dc27c3]

References

Posts about CVE-2026-125112