ADVISORIES

GitHub Advisory Database

GHSA-qh7x-j4v8-qw5w

Clipboard-based XSS

Details

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/

Affected packages

EcosystemPackageAffected versions
npmjsuites
All versions before 4.9.11 (fixed in 4.9.11)

References