CNVD-2020-33572

Vulnerability from cnvd - Published: 2020-06-18
VLAI
Title
lazysizes跨站脚本漏洞
Description
lazysizes是一款轻量级惰性加载器。它主要用于图像,iframe和脚本等内容的延迟加载。 lazysizes 5.2.0及之前版本中存在安全漏洞,该漏洞源于程序未能清理以下属性:data-vimeo、data-vimeoparams、data-youtube和data-ytparams。攻击者可利用该漏洞执行恶意JavaScript代码。
Severity
Patch Name
lazysizes跨站脚本漏洞的补丁
Patch Description
lazysizes是一款轻量级惰性加载器。它主要用于图像,iframe和脚本等内容的延迟加载。 lazysizes 5.2.0及之前版本中存在安全漏洞,该漏洞源于程序未能清理以下属性:data-vimeo、data-vimeoparams、data-youtube和data-ytparams。攻击者可利用该漏洞执行恶意JavaScript代码。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

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

Reference
https://nvd.nist.gov/vuln/detail/CVE-2020-7642
Impacted products
Name
lazysizes lazysizes <=5.2.0
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2020-7642"
    }
  },
  "description": "lazysizes\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u60f0\u6027\u52a0\u8f7d\u5668\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u56fe\u50cf\uff0ciframe\u548c\u811a\u672c\u7b49\u5185\u5bb9\u7684\u5ef6\u8fdf\u52a0\u8f7d\u3002\n\nlazysizes 5.2.0\u53ca\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u672a\u80fd\u6e05\u7406\u4ee5\u4e0b\u5c5e\u6027\uff1adata-vimeo\u3001data-vimeoparams\u3001data-youtube\u548cdata-ytparams\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u6076\u610fJavaScript\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\uff1a\r\nhttps://github.com/aFarkas/lazysizes/commit/3720ab8262552d4e063a38d8492f9490a231fd48",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2020-33572",
  "openTime": "2020-06-18",
  "patchDescription": "lazysizes\u662f\u4e00\u6b3e\u8f7b\u91cf\u7ea7\u60f0\u6027\u52a0\u8f7d\u5668\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u56fe\u50cf\uff0ciframe\u548c\u811a\u672c\u7b49\u5185\u5bb9\u7684\u5ef6\u8fdf\u52a0\u8f7d\u3002\r\n\r\nlazysizes 5.2.0\u53ca\u4e4b\u524d\u7248\u672c\u4e2d\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8e\u7a0b\u5e8f\u672a\u80fd\u6e05\u7406\u4ee5\u4e0b\u5c5e\u6027\uff1adata-vimeo\u3001data-vimeoparams\u3001data-youtube\u548cdata-ytparams\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u6267\u884c\u6076\u610fJavaScript\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": "lazysizes\u8de8\u7ad9\u811a\u672c\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "lazysizes lazysizes \u003c=5.2.0"
  },
  "referenceLink": "https://nvd.nist.gov/vuln/detail/CVE-2020-7642",
  "serverity": "\u4f4e",
  "submitTime": "2020-04-23",
  "title": "lazysizes\u8de8\u7ad9\u811a\u672c\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…