{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.0.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "1.1.0"
                  },
                  {
                    "fixed": "1.1.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "06d213dbdd82f5b1c2affe2f869ae88a71809e4a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "5288e5dbc8d83d8aee8a22a0a7a3a478461c8965"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.0.10",
                "range": [
                  {
                    "fixed": "c615635e8bfdb2b333658dbc28ce4b793541cdb0"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v1.1.2",
                "range": [
                  {
                    "fixed": "de163a0e9236478b4a538f65bc2c7f6ea2dc27c3"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c615635e8bfdb2b333658dbc28ce4b793541cdb0"
            },
            {
              "introduced": "de44fa0387807348082de560024c4dfa5aa8b3c6"
            },
            {
              "fixed": "de163a0e9236478b4a538f65bc2c7f6ea2dc27c3"
            },
            {
              "fixed": "06d213dbdd82f5b1c2affe2f869ae88a71809e4a"
            },
            {
              "fixed": "5288e5dbc8d83d8aee8a22a0a7a3a478461c8965"
            }
          ],
          "repo": "https://github.com/djust-org/djust",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xjw9-38cr-6372"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-116",
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125112.json"
  },
  "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.",
  "id": "CVE-2026-125112",
  "modified": "2026-11-11T02:30:33.446742339Z",
  "published": "2026-11-09T22:08:05.450Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/djust-org/djust/releases/tag/v1.0.10"
    },
    {
      "type": "WEB",
      "url": "https://github.com/djust-org/djust/releases/tag/v1.1.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125112.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/djust-org/djust/security/advisories/GHSA-xjw9-38cr-6372"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125112"
    },
    {
      "type": "FIX",
      "url": "https://github.com/djust-org/djust/commit/06d213dbdd82f5b1c2affe2f869ae88a71809e4a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/djust-org/djust/commit/5288e5dbc8d83d8aee8a22a0a7a3a478461c8965"
    },
    {
      "type": "FIX",
      "url": "https://github.com/djust-org/djust/pull/2444"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "djust: A template binding inherits a context safety grant it never earned (XSS)"
}