~ / search / GHSA-qh7x-j4v8-qw5w

GHSA-qh7x-j4v8-qw5w

Clipboard-based XSS

Source: GitHub Advisory Database (reviewed) High CVE-2021-41086

Packages

EcosystemPackageAffectedFixed in
npm jsuites < 4.9.11 4.9.11

Details

As written in the advisory (Markdown source, shown as plain text).

### 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/

References

External links from the advisory. They lead to third-party sites.