{"id":"GHSA-qh7x-j4v8-qw5w","summary":"Clipboard-based XSS","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","aliases":["CVE-2021-41086"],"modified":"2026-07-08T06:28:03.516794320Z","published":"2021-09-22T20:39:26Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-09-21T21:50:39Z","nvd_published_at":"2021-09-21T21:15:00Z","cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41086"},{"type":"WEB","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"}],"affected":[{"package":{"name":"jsuites","ecosystem":"npm","purl":"pkg:npm/jsuites"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.9.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-qh7x-j4v8-qw5w/GHSA-qh7x-j4v8-qw5w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}