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。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型XSS 攻击途径网络无需认证 软件包生态PyPI
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

XSS
CWE-79(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-xjw9-38cr-6372)
网络
编号分配方 GitHub_M 给出的 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)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 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)中的 PR:N
PyPI
GHSA-xjw9-38cr-6372:pip 包 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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:P
有:依赖特定的部署或运行条件,例如竞态条件、非默认配置或处于网络路径中间
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:P
被动:只需有限的、非主动的交互,例如浏览某个页面

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 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 2.3,低危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "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 · 本站 批量导入 · 原始记录
{
  "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"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。