GHSA-qh7x-j4v8-qw5w

Suggest an improvement
Source
https://github.com/advisories/GHSA-qh7x-j4v8-qw5w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-qh7x-j4v8-qw5w/GHSA-qh7x-j4v8-qw5w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qh7x-j4v8-qw5w
Aliases
Published
2021-09-22T20:39:26Z
Modified
2026-07-08T06:28:03Z
Severity
  • 8.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N CVSS Calculator
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/

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-09-21T21:50:39Z",
    "nvd_published_at":  "2021-09-21T21:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / jsuites

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"