nday
CVE-2026-59988 GHSA-86mf-q4h5-69gp

django-docutils unsafe Docutils defaults allow local file disclosure, SSRF, and stored XSS

tony / django-docutils

披露后第 1 天有补丁记录。已有补丁记录,修复版本是 django-docutils 0.30.0。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

这些标签的依据

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

path traversal
CWE-22(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-86mf-q4h5-69gp)
SSRF
CWE-918(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-86mf-q4h5-69gp)
XSS
CWE-79(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-86mf-q4h5-69gp)
information disclosure
CWE-200(来源:编号分配方 GitHub_M、NVD(转录自 [email protected])、GitHub 公告 GHSA-86mf-q4h5-69gp)
远程未授权
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N(CVSS 3.1)中的 AV:N、PR:N、UI:N
网络
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N(CVSS 3.1)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N(CVSS 3.1)中的 PR:N
无需用户交互
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N(CVSS 3.1)中的 UI:N
PyPI
GHSA-86mf-q4h5-69gp:pip 包 django-docutils
当前阶段
PAT
披露
披露到补丁
T+1d
CVSS
8.2 HIGH v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
11-19T16:43Z
PAT补丁
11-20T01:04Z
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

django-docutils provides reStructuredText support for Django. Prior to 0.30.0, public rendering paths including publish_doctree, publish_html_from_source, publish_html_from_doctree, publish_parts_from_doctree, the {% rst %} template tag, the rst template filter, DocutilsTemplates, and DocutilsView pass lower-trust reStructuredText to Docutils without disabling file_insertion_enabled, raw_enabled, ambient docutils.conf processing, or unsafe URI schemes and without consistently sanitizing doctrees. An attacker who can influence rendered reStructuredText can use include or csv-table directives to read local files or cause server-side URL requests, or use raw HTML and unsafe URI output to inject stored script-capable content. Applications that render only trusted static reStructuredText are not affected unless attackers can influence it. This issue is fixed in version 0.30.0.

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

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 8.2,高危。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 实时观测 · 原始记录
{
  "id": 487333,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-59988",
  "occurred_at": "2026-11-19T16:43:14.816Z",
  "observed_at": "2026-11-19T17:01:12.553901Z",
  "is_backfill": false,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
      "version": "3.1",
      "base_score": 8.2,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-20T21:26:49.009346Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-19T16:43:14.816Z",
    "assigner_short_name": "GitHub_M"
  }
}
来源未给时间,本站实时观测
+PAT补丁发布

公告给出修复版本 django-docutils 0.30.0。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa GHSA-86mf-q4h5-69gp · 本站 实时观测 · 原始记录
{
  "id": 492300,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-86mf-q4h5-69gp",
  "occurred_at": null,
  "observed_at": "2026-11-20T01:04:39.062031Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-86mf-q4h5-69gp",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 8.2,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Limitation of a Pathname to a Restricted Directory",
        "cwe_id": "CWE-22"
      },
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      },
      {
        "name": "Exposure of Sensitive Information to an Unauthorized Actor",
        "cwe_id": "CWE-200"
      },
      {
        "name": "Server-Side Request Forgery",
        "cwe_id": "CWE-918"
      }
    ],
    "ghsa_id": "GHSA-86mf-q4h5-69gp",
    "packages": [
      {
        "name": "django-docutils",
        "ecosystem": "pip",
        "first_patched_version": "0.30.0",
        "vulnerable_version_range": "< 0.30.0"
      }
    ],
    "severity": "high",
    "references": [
      "https://github.com/tony/django-docutils/security/advisories/GHSA-86mf-q4h5-69gp",
      "https://nvd.nist.gov/vuln/detail/CVE-2026-59988",
      "https://github.com/tony/django-docutils/pull/457",
      "https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067",
      "https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd",
      "https://github.com/tony/django-docutils/blob/v0.30.0/CHANGES",
      "https://github.com/advisories/GHSA-86mf-q4h5-69gp"
    ],
    "fix_commit_urls": [
      "https://github.com/tony/django-docutils/pull/457",
      "https://github.com/tony/django-docutils/commit/274caaf14c2368fafeb45f178094a34ba538f067",
      "https://github.com/tony/django-docutils/commit/57fd751a10ce2969e4ca2bde6a9094fa2e2ba0dd"
    ],
    "github_reviewed_at": "2026-11-20T00:08:12Z",
    "advisory_updated_at": "2026-11-20T00:08:12Z",
    "source_code_location": "https://github.com/tony/django-docutils",
    "advisory_published_at": "2026-11-20T00:08:12Z"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。