- Accueil
- Vulnérabilités
- CVE-2026-125112
CVE-2026-125112
djust: A template binding inherits a context safety grant it never earned (XSS)
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
djust-org (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| djust | Versions non précisées | — | CNA (éditeur ou attributeur) |
Correctif
Mise à jour — PyPI/djust 1.0.10; PyPI/djust 1.1.2source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-xjw9-38cr-6372 — djust: A template binding inherits a context safety grant it never earned (XSS) 17 sept. 2026
Références
- https://github.com/djust-org/djust/security/advisories/GHSA-xjw9-38cr-6372x_refsource_CONFIRM
- https://github.com/djust-org/djust/pull/2444x_refsource_MISC
- https://github.com/djust-org/djust/commit/06d213dbdd82f5b1c2affe2f869ae88a71809e4ax_refsource_MISC
- https://github.com/djust-org/djust/commit/5288e5dbc8d83d8aee8a22a0a7a3a478461c8965x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.0.10x_refsource_MISC
- https://github.com/djust-org/djust/releases/tag/v1.1.2x_refsource_MISC
- https://github.com/djust-org/djustPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
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(CVSS 4.0, CNA:GitHub_M)- Faiblesse
- CWE-79 · Script intersite (XSS)