nday
CVE-2026-125112 GHSA-xjw9-38cr-6372

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

djust-org / djust

に公開されました。修正済みバージョンは djust 1.0.10、djust 1.1.2 です。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

tags weakness typeXSS accessnetworkno authentication required ecosystemPyPI
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the CNA GitHub_M、NVD, republishing [email protected]、GitHub advisory GHSA-xjw9-38cr-6372
network
AV:N in 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) from the CNA GitHub_M
no authentication required
PR:N in 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) from the CNA GitHub_M
PyPI
GHSA-xjw9-38cr-6372: pip packages djust
現在の段階
PAT
公開日時
CVSS 基本値
2.3 LOW v4.0

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
11-09T22:08Z
PAT修正
djust 1.0.10、djust 1.1.2
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:P
Passive: limited, involuntary interaction, such as visiting a page

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 vector from the CVE record, scored by the CNA GitHub_M.

イベント履歴

+DIS公開

GitHub_M が CVE レコードを公開。CVSS 基本値 2.3(注意)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 8183,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-125112",
  "occurred_at": "2026-11-09T22:08:05.45Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "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",
      "version": "4.0",
      "base_score": 2.3,
      "base_severity": "LOW"
    },
    "ssvc": {
      "timestamp": "2026-11-13T13:30:15.854888Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-09T22:08:05.450Z",
    "assigner_short_name": "GitHub_M"
  }
}
日時不明ソースに時刻なし
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:djust 1.0.10、djust 1.1.2。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa GHSA-xjw9-38cr-6372 · nday が に一括取り込み · 生データ
{
  "id": 19069,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-xjw9-38cr-6372",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:03:36.174798Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-xjw9-38cr-6372",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 0.0,
        "vector_string": null
      },
      "cvss_v4": {
        "score": 8.7,
        "vector_string": "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"
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      },
      {
        "name": "Improper Encoding or Escaping of Output",
        "cwe_id": "CWE-116"
      }
    ],
    "ghsa_id": "GHSA-xjw9-38cr-6372",
    "packages": [
      {
        "name": "djust",
        "ecosystem": "pip",
        "first_patched_version": "1.0.10",
        "vulnerable_version_range": "< 1.0.10"
      },
      {
        "name": "djust",
        "ecosystem": "pip",
        "first_patched_version": "1.1.2",
        "vulnerable_version_range": ">= 1.1.0, < 1.1.2"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/djust-org/djust/security/advisories/GHSA-xjw9-38cr-6372",
      "https://github.com/djust-org/djust/releases/tag/v1.1.2",
      "https://github.com/djust-org/djust/pull/2444",
      "https://github.com/djust-org/djust/commit/06d213dbdd82f5b1c2affe2f869ae88a71809e4a",
      "https://github.com/djust-org/djust/commit/5288e5dbc8d83d8aee8a22a0a7a3a478461c8965",
      "https://github.com/djust-org/djust/releases/tag/v1.0.10",
      "https://github.com/advisories/GHSA-xjw9-38cr-6372"
    ],
    "fix_commit_urls": [
      "https://github.com/djust-org/djust/pull/2444",
      "https://github.com/djust-org/djust/commit/06d213dbdd82f5b1c2affe2f869ae88a71809e4a",
      "https://github.com/djust-org/djust/commit/5288e5dbc8d83d8aee8a22a0a7a3a478461c8965"
    ],
    "github_reviewed_at": "2026-09-17T20:31:48Z",
    "advisory_updated_at": "2026-11-09T22:09:15Z",
    "source_code_location": "https://github.com/djust-org/djust",
    "advisory_published_at": "2026-09-17T20:31:48Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.