GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CNVD-2021-94152

Vulnerability from cnvd - Published: 2021-12-03
VLAI
Title
KindEditor XSS漏洞
Description
KindEditor是一个轻量级、开源 (LGPL)、跨浏览器、基于 Web 的 WYSIWYG HTML 编辑器。KindEditor 能够将标准文本区域转换为富文本编辑。 KindEditor在4.1.x版本之前存在XSS漏洞,该漏洞与受影响版本未正常处理用户输入有关。在upload_json.php中由于filename参数未做相关数据过滤,导致存在XSS漏洞。攻击者可利用该漏洞获取网站管理员权限。
Severity
Patch Name
KindEditor XSS漏洞的补丁
Patch Description
KindEditor是一个轻量级、开源 (LGPL)、跨浏览器、基于 Web 的 WYSIWYG HTML 编辑器。KindEditor 能够将标准文本区域转换为富文本编辑。 KindEditor在4.1.x版本之前存在XSS漏洞,该漏洞与受影响版本未正常处理用户输入有关。在upload_json.php中由于filename参数未做相关数据过滤,导致存在XSS漏洞。攻击者可利用该漏洞获取网站管理员权限。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级补丁以修复漏洞,补丁获取链接: https://github.com/kindsoft/kindeditor/issues/336

Reference
https://nvd.nist.gov/vuln/detail/CVE-2021-42227
Impacted products
Name
KindEditor KindEditor >=4.1,<=4.1.12
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2021-42227",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2021-42227"
    }
  },
  "description": "KindEditor\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u5f00\u6e90 (LGPL)\u3001\u8de8\u6d4f\u89c8\u5668\u3001\u57fa\u4e8e Web \u7684 WYSIWYG HTML \u7f16\u8f91\u5668\u3002KindEditor \u80fd\u591f\u5c06\u6807\u51c6\u6587\u672c\u533a\u57df\u8f6c\u6362\u4e3a\u5bcc\u6587\u672c\u7f16\u8f91\u3002\n\nKindEditor\u57284.1.x\u7248\u672c\u4e4b\u524d\u5b58\u5728XSS\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u4e0e\u53d7\u5f71\u54cd\u7248\u672c\u672a\u6b63\u5e38\u5904\u7406\u7528\u6237\u8f93\u5165\u6709\u5173\u3002\u5728upload_json.php\u4e2d\u7531\u4e8efilename\u53c2\u6570\u672a\u505a\u76f8\u5173\u6570\u636e\u8fc7\u6ee4\uff0c\u5bfc\u81f4\u5b58\u5728XSS\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u83b7\u53d6\u7f51\u7ad9\u7ba1\u7406\u5458\u6743\u9650\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\uff1a\r\nhttps://github.com/kindsoft/kindeditor/issues/336",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2021-94152",
  "openTime": "2021-12-03",
  "patchDescription": "KindEditor\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u3001\u5f00\u6e90 (LGPL)\u3001\u8de8\u6d4f\u89c8\u5668\u3001\u57fa\u4e8e Web \u7684 WYSIWYG HTML \u7f16\u8f91\u5668\u3002KindEditor \u80fd\u591f\u5c06\u6807\u51c6\u6587\u672c\u533a\u57df\u8f6c\u6362\u4e3a\u5bcc\u6587\u672c\u7f16\u8f91\u3002\r\n\r\nKindEditor\u57284.1.x\u7248\u672c\u4e4b\u524d\u5b58\u5728XSS\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u4e0e\u53d7\u5f71\u54cd\u7248\u672c\u672a\u6b63\u5e38\u5904\u7406\u7528\u6237\u8f93\u5165\u6709\u5173\u3002\u5728upload_json.php\u4e2d\u7531\u4e8efilename\u53c2\u6570\u672a\u505a\u76f8\u5173\u6570\u636e\u8fc7\u6ee4\uff0c\u5bfc\u81f4\u5b58\u5728XSS\u6f0f\u6d1e\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u83b7\u53d6\u7f51\u7ad9\u7ba1\u7406\u5458\u6743\u9650\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": "KindEditor XSS\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "KindEditor KindEditor \u003e=4.1\uff0c\u003c=4.1.12"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2021-42227",
  "serverity": "\u4e2d",
  "submitTime": "2021-10-15",
  "title": "KindEditor XSS\u6f0f\u6d1e"
}



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…

Detection rules are retrieved from Rulezet.

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…