HIGH8.7
GHSA-qh7x-j4v8-qw5w
Clipboard-based XSS
Quick fix
GHSA-qh7x-j4v8-qw5w — jsuites: upgrade to the fixed version with the command below.
npm install jsuites@4.9.11Details
### Impact XSS against the user.
### Details 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` causing XSS.
### References The Curious Case of Copy & Paste – on risks of pasting arbitrary content in browsers: https://research.securitum.com/the-curious-case-of-copy-paste/
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-41086[ADVISORY]
- https://github.com/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3[WEB]
- https://github.com/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2[WEB]
- https://github.com/jsuites/jsuites[WEB]
- https://www.npmjs.com/package/jsuites[WEB]