CNVD-2021-08894

Vulnerability from cnvd - Published: 2021-02-03
VLAI
Title
Hedgedoc跨站脚本漏洞
Description
Hedgedoc是Hedgedoc团队的一个基于Javascript的Markdown文档实时编辑分享平台。 HedgeDoc 1.7.1之前版本存在安全漏洞,攻击者可利用该漏洞可以在HedgeDoc notes中注入任意的“脚本”标签。我们的内容安全策略禁止从大多数位置加载脚本,但“www.google-analytics.com”是允许的。使用谷歌标签管理器可以注入任意JavaScript并在页面加载时执行它。
Severity
中
Patch Name
Hedgedoc跨站脚本漏洞的补丁
Patch Description
Hedgedoc是Hedgedoc团队的一个基于Javascript的Markdown文档实时编辑分享平台。 HedgeDoc 1.7.1之前版本存在安全漏洞,攻击者可利用该漏洞可以在HedgeDoc notes中注入任意的“脚本”标签。我们的内容安全策略禁止从大多数位置加载脚本,但“www.google-analytics.com”是允许的。使用谷歌标签管理器可以注入任意JavaScript并在页面加载时执行它。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接:https://github.com/hedgedoc/hedgedoc/commit/58276ebbf4504a682454a3686dcaff88bc1069d4

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-26287
Impacted products
Name
Hedgedoc HedgeDoc <1.7.1
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-26287",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2020-26287"
    }
  },
  "description": "Hedgedoc\u662fHedgedoc\u56e2\u961f\u7684\u4e00\u4e2a\u57fa\u4e8eJavascript\u7684Markdown\u6587\u6863\u5b9e\u65f6\u7f16\u8f91\u5206\u4eab\u5e73\u53f0\u3002\n\nHedgeDoc 1.7.1\u4e4b\u524d\u7248\u672c\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u53ef\u4ee5\u5728HedgeDoc notes\u4e2d\u6ce8\u5165\u4efb\u610f\u7684\u201c\u811a\u672c\u201d\u6807\u7b7e\u3002\u6211\u4eec\u7684\u5185\u5bb9\u5b89\u5168\u7b56\u7565\u7981\u6b62\u4ece\u5927\u591a\u6570\u4f4d\u7f6e\u52a0\u8f7d\u811a\u672c\uff0c\u4f46\u201cwww.google-analytics.com\u201d\u662f\u5141\u8bb8\u7684\u3002\u4f7f\u7528\u8c37\u6b4c\u6807\u7b7e\u7ba1\u7406\u5668\u53ef\u4ee5\u6ce8\u5165\u4efb\u610fJavaScript\u5e76\u5728\u9875\u9762\u52a0\u8f7d\u65f6\u6267\u884c\u5b83\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u6f0f\u6d1e\uff0c\u8865\u4e01\u83b7\u53d6\u94fe\u63a5\uff1ahttps://github.com/hedgedoc/hedgedoc/commit/58276ebbf4504a682454a3686dcaff88bc1069d4",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-08894",
  "openTime": "2021-02-03",
  "patchDescription": "Hedgedoc\u662fHedgedoc\u56e2\u961f\u7684\u4e00\u4e2a\u57fa\u4e8eJavascript\u7684Markdown\u6587\u6863\u5b9e\u65f6\u7f16\u8f91\u5206\u4eab\u5e73\u53f0\u3002\r\n\r\nHedgeDoc 1.7.1\u4e4b\u524d\u7248\u672c\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u53ef\u4ee5\u5728HedgeDoc notes\u4e2d\u6ce8\u5165\u4efb\u610f\u7684\u201c\u811a\u672c\u201d\u6807\u7b7e\u3002\u6211\u4eec\u7684\u5185\u5bb9\u5b89\u5168\u7b56\u7565\u7981\u6b62\u4ece\u5927\u591a\u6570\u4f4d\u7f6e\u52a0\u8f7d\u811a\u672c\uff0c\u4f46\u201cwww.google-analytics.com\u201d\u662f\u5141\u8bb8\u7684\u3002\u4f7f\u7528\u8c37\u6b4c\u6807\u7b7e\u7ba1\u7406\u5668\u53ef\u4ee5\u6ce8\u5165\u4efb\u610fJavaScript\u5e76\u5728\u9875\u9762\u52a0\u8f7d\u65f6\u6267\u884c\u5b83\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Hedgedoc\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Hedgedoc HedgeDoc \u003c1.7.1"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-26287",
  "serverity": "\u4e2d",
  "submitTime": "2020-12-30",
  "title": "Hedgedoc\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.