原始 OSV JSON{
"id": "GHSA-qh7x-j4v8-qw5w",
"aliases": [
"CVE-2021-41086"
],
"details": "### Impact\nXSS against the user.\n\n### Details\njsuites is vulnerable to DOM based XSS if the user can be tricked into copying _anything_ from a malicious and pasting it into the html editor. This is because a part of the clipboard content is directly written to `innerHTML` causing XSS.\n\n### References\nThe Curious Case of Copy & Paste – on risks of pasting arbitrary content in browsers: https://research.securitum.com/the-curious-case-of-copy-paste/\n",
"summary": "Clipboard-based XSS",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.9.11"
}
]
}
],
"package": {
"name": "jsuites",
"ecosystem": "npm"
}
}
],
"modified": "2021-10-21T14:19:54Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
}
],
"published": "2021-09-22T20:39:26Z",
"references": [
{
"url": "https://github.com/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41086",
"type": "ADVISORY"
},
{
"url": "https://github.com/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3",
"type": "WEB"
},
{
"url": "https://github.com/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2",
"type": "WEB"
},
{
"url": "https://github.com/jsuites/jsuites",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/package/jsuites",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-09-21T21:15:00Z",
"github_reviewed_at": "2021-09-21T21:50:39Z"
}
}