CVE-2021-41086
JSON

8.7high

Clipboard-based XSS in jsuites

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.91% (higher than 61% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qh7x-j4v8-qw5w

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

Product or packageVersionsReported by
jsuites jsuites< 4.9.11, before 4.9.11CVE List, NVD
jsuites (npm)before 4.9.11GitHub Advisory Database

All scores

GitHub_M8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
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/

NVD (es)

jsuites es una colección de código abierto de componentes web javascript comunes necesarios. En las versiones afectadas los usuarios están sujetos a ataques de tipo cross site scripting (XSS) por medio del contenido del portapapeles. jsuites es vulnerable a un ataque de tipo XSS basado en el DOM si es posible engañar al usuario para que copie _anything_ de un malicioso y lo pegue en el editor html. Esto es debido a que una parte del contenido del portapapeles es escrita directamente en "innerHTML", permitiendo una inyección de javascript y, por tanto, un ataque de tipo XSS. Se recomienda a usuarios que actualicen a la versión 4.9.11 para resolverlo

References

Sources

SourceRecordLicence
CVE ListCVE-2021-41086 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-qh7x-j4v8-qw5w changed 2026-07-08CC-BY-4.0
NVDCVE-2021-41086 changed 2026-06-17Public domain