CNVD-2021-14402

Vulnerability from cnvd - Published: 2021-03-04
VLAI
Title
docsify跨站脚本漏洞(CNVD-2021-14402)
Description
docsify是一款文档网站生成器。 docsify 4.12.0之前版本中存在跨站脚本漏洞。该漏洞源于可以通过插入更多“////”字符绕过isURL外部检查,从远程url解析HTML时,对主页上的HTML代码进行清理,但这种清理未能会在侧边栏中进行。攻击者可通过该漏洞执行Javascript代码。
Severity
中
Patch Name
docsify跨站脚本漏洞(CNVD-2021-14402)的补丁
Patch Description
docsify是一款文档网站生成器。 docsify 4.12.0之前版本中存在跨站脚本漏洞。该漏洞源于可以通过插入更多“////”字符绕过isURL外部检查,从远程url解析HTML时,对主页上的HTML代码进行清理,但这种清理未能会在侧边栏中进行。攻击者可通过该漏洞执行Javascript代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

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

Reference
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593
Impacted products
Name
docsify docsify <4.12.0
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-23342",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-23342"
    }
  },
  "description": "docsify\u662f\u4e00\u6b3e\u6587\u6863\u7f51\u7ad9\u751f\u6210\u5668\u3002\n\ndocsify 4.12.0\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u53ef\u4ee5\u901a\u8fc7\u63d2\u5165\u66f4\u591a\u201c////\u201d\u5b57\u7b26\u7ed5\u8fc7isURL\u5916\u90e8\u68c0\u67e5\uff0c\u4ece\u8fdc\u7a0burl\u89e3\u6790HTML\u65f6\uff0c\u5bf9\u4e3b\u9875\u4e0a\u7684HTML\u4ee3\u7801\u8fdb\u884c\u6e05\u7406\uff0c\u4f46\u8fd9\u79cd\u6e05\u7406\u672a\u80fd\u4f1a\u5728\u4fa7\u8fb9\u680f\u4e2d\u8fdb\u884c\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u8be5\u6f0f\u6d1e\u6267\u884cJavascript\u4ee3\u7801\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/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-14402",
  "openTime": "2021-03-04",
  "patchDescription": "docsify\u662f\u4e00\u6b3e\u6587\u6863\u7f51\u7ad9\u751f\u6210\u5668\u3002\r\n\r\ndocsify 4.12.0\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u3002\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u53ef\u4ee5\u901a\u8fc7\u63d2\u5165\u66f4\u591a\u201c////\u201d\u5b57\u7b26\u7ed5\u8fc7isURL\u5916\u90e8\u68c0\u67e5\uff0c\u4ece\u8fdc\u7a0burl\u89e3\u6790HTML\u65f6\uff0c\u5bf9\u4e3b\u9875\u4e0a\u7684HTML\u4ee3\u7801\u8fdb\u884c\u6e05\u7406\uff0c\u4f46\u8fd9\u79cd\u6e05\u7406\u672a\u80fd\u4f1a\u5728\u4fa7\u8fb9\u680f\u4e2d\u8fdb\u884c\u3002\u653b\u51fb\u8005\u53ef\u901a\u8fc7\u8be5\u6f0f\u6d1e\u6267\u884cJavascript\u4ee3\u7801\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": "docsify\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\uff08CNVD-2021-14402\uff09\u7684\u8865\u4e01",
  "products": {
    "product": "docsify docsify \u003c4.12.0"
  },
  "referenceLink": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593",
  "serverity": "\u4e2d",
  "submitTime": "2021-03-03",
  "title": "docsify\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\uff08CNVD-2021-14402\uff09"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

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.


Loading…