GitHub Advisoryadvisory · npm

GHSA-qh7x-j4v8-qw5w Clipboard-based XSS

HIGH Published 2021-09-22 Modified 2021-10-21 Official page ↗
Aliases
CVE-2021-41086
Ecosystem
npm
Packages
jsuites
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Weaknesses
CWE-79
Reviewed
2021-09-21

Affected packages

• npm jsuites: < 4.9.11 → fixed in 4.9.11

Description

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/

Related

Alias · CVE (1)

  • CVE-2021-41086 jsuites is an open source collection of common required javascript web components. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References