Advisory

GHSA-qh7x-j4v8-qw5w

Also known as: CVE-2021-41086

Summary

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/

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-22 20:39 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

jsuites

npm · All systems

Affected

  • introduced 0, fixed 4.9.11 (semver)

Fixed versions

4.9.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences