{"id":"CVE-2021-41086","aliases":["CVE-2021-41086","GHSA-qh7x-j4v8-qw5w"],"related":[],"kind":"vulnerability","state":"published","title":"Clipboard-based XSS in jsuites","summary":"jsuites is an open source collection of common required javascript web components. In affected versions users are subject to cross site scripting (XSS) attacks via clipboard content. jsuites 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` allowing for javascript injection and thus XSS. Users are advised to update to version 4.9.11 to resolve.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"jsuites is an open source collection of common required javascript web components. In affected versions users are subject to cross site scripting (XSS) attacks via clipboard content. jsuites 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` allowing for javascript injection and thus XSS. Users are advised to update to version 4.9.11 to resolve.","source":"cvelist"},{"lang":"en","text":"### 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/","format":"markdown","source":"ghsa"},{"lang":"es","text":"jsuites es una colección de código abierto de componentes web javascript comunes necesarios. En las versiones afectadas los usuarios están sujetos a ataques de tipo cross site scripting (XSS) por medio del contenido del portapapeles. jsuites es vulnerable a un ataque de tipo XSS basado en el DOM si es posible engañar al usuario para que copie _anything_ de un malicioso y lo pegue en el editor html. Esto es debido a que una parte del contenido del portapapeles es escrita directamente en \"innerHTML\", permitiendo una inyección de javascript y, por tanto, un ataque de tipo XSS. Se recomienda a usuarios que actualicen a la versión 4.9.11 para resolverlo","source":"nvd"}],"published":"2021-09-21T21:00:12.000Z","modified":"2026-07-08T06:28:03.516Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 4.9.11","status":"affected"}],"vendor":"jsuites","product":"jsuites","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.9.11"}],"ecosystem":"npm","package":"jsuites","purl":"pkg:npm/jsuites","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.9.11"}],"vendor":"jsuites","product":"jsuites","cpe":"cpe:2.3:a:jsuites:jsuites:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41086","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jsuites/jsuites","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/jsuites","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41086","url":"https://www.cve.org/CVERecord?id=CVE-2021-41086","licence":"CVE Terms of Use","modified":"2024-08-04T02:59:31.417Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qh7x-j4v8-qw5w","url":"https://github.com/advisories/GHSA-qh7x-j4v8-qw5w","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:03.516Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41086","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41086","licence":"Public domain","modified":"2026-06-17T04:07:50.773Z"}],"updatedAt":"2026-11-25T22:58:04.092Z","epss":{"score":0.00914,"percentile":0.61172,"date":"2026-12-01T12:00:22.000Z"}}