cnvd-2018-26968
Vulnerability from cnvd

Title: Sanitize输入验证漏洞

Description:

Sanitize(Ruby)是一款基于白名单的HTML和CSS清理程序。该程序能够删除字符串中不符合标准的HTML和CSS等。

Sanitize(Ruby)4.6.0及之前版本中存在输入验证漏洞。远程攻击者可借助特制的HTML片段利用该漏洞将未列入白名单的属性应用到被列入白名单的HTML元素上。

Severity:

Patch Name: Sanitize输入验证漏洞的补丁

Patch Description:

Sanitize(Ruby)是一款基于白名单的HTML和CSS清理程序。该程序能够删除字符串中不符合标准的HTML和CSS等。

Sanitize(Ruby)4.6.0及之前版本中存在输入验证漏洞。远程攻击者可借助特制的HTML片段利用该漏洞将未列入白名单的属性应用到被列入白名单的HTML元素上。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。

Formal description:

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

Reference: https://nvd.nist.gov/vuln/detail/CVE-2018-3740

Impacted products
Name
Sanitize Sanitize <=4.6.0
Show details on source website


{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2018-3740"
    }
  },
  "description": "Sanitize\uff08Ruby\uff09\u662f\u4e00\u6b3e\u57fa\u4e8e\u767d\u540d\u5355\u7684HTML\u548cCSS\u6e05\u7406\u7a0b\u5e8f\u3002\u8be5\u7a0b\u5e8f\u80fd\u591f\u5220\u9664\u5b57\u7b26\u4e32\u4e2d\u4e0d\u7b26\u5408\u6807\u51c6\u7684HTML\u548cCSS\u7b49\u3002\n\nSanitize\uff08Ruby\uff094.6.0\u53ca\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u8f93\u5165\u9a8c\u8bc1\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u7279\u5236\u7684HTML\u7247\u6bb5\u5229\u7528\u8be5\u6f0f\u6d1e\u5c06\u672a\u5217\u5165\u767d\u540d\u5355\u7684\u5c5e\u6027\u5e94\u7528\u5230\u88ab\u5217\u5165\u767d\u540d\u5355\u7684HTML\u5143\u7d20\u4e0a\u3002",
  "discovererName": "unknwon",
  "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/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2018-26968",
  "openTime": "2018-12-29",
  "patchDescription": "Sanitize\uff08Ruby\uff09\u662f\u4e00\u6b3e\u57fa\u4e8e\u767d\u540d\u5355\u7684HTML\u548cCSS\u6e05\u7406\u7a0b\u5e8f\u3002\u8be5\u7a0b\u5e8f\u80fd\u591f\u5220\u9664\u5b57\u7b26\u4e32\u4e2d\u4e0d\u7b26\u5408\u6807\u51c6\u7684HTML\u548cCSS\u7b49\u3002\r\n\r\nSanitize\uff08Ruby\uff094.6.0\u53ca\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u8f93\u5165\u9a8c\u8bc1\u6f0f\u6d1e\u3002\u8fdc\u7a0b\u653b\u51fb\u8005\u53ef\u501f\u52a9\u7279\u5236\u7684HTML\u7247\u6bb5\u5229\u7528\u8be5\u6f0f\u6d1e\u5c06\u672a\u5217\u5165\u767d\u540d\u5355\u7684\u5c5e\u6027\u5e94\u7528\u5230\u88ab\u5217\u5165\u767d\u540d\u5355\u7684HTML\u5143\u7d20\u4e0a\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": "Sanitize\u8f93\u5165\u9a8c\u8bc1\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Sanitize Sanitize \u003c=4.6.0"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2018-3740",
  "serverity": "\u4e2d",
  "submitTime": "2018-12-29",
  "title": "Sanitize\u8f93\u5165\u9a8c\u8bc1\u6f0f\u6d1e"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…