Vulnerability · Published Sep 21, 2021 · Assigned by GitHub_M

CVE-2021-41086Clipboard-based XSS in jsuites

High 8.7

In plain English

A high-severity cross-site scripting in jsuites from jsuites. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.9%top 39.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

jsuites is an open source collection of common required javascript web components. In affected versions users are subject to cross site scripting (XSS) attacks via clipboard content. 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` allowing for javascript injection and thus XSS. Users are advised to update to version 4.9.11 to resolve.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmjsuites4.9.11GHSA-qh7x-j4v8-qw5w

Affected products (as reported)

VendorProductVersions
jsuites jsuites < 4.9.11

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

References