CVE-2021-41086 json
Clipboard-based XSS in jsuites
published 5y ago modified 4mo ago also GHSA-qh7x-j4v8-qw5w , EUVD-2021-2102
- cvss
- 8.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jsuites 4.9.11
- jsuites jsuites 4.9.11
Is CVE-2021-41086 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsuites | <4.9.11 |
4.9.11 |
Affected products
- jsuites jsuites
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3
web, patch, third-party-advisory
-
github.com
/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2
web, patch, third-party-advisory
-
github.com
/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-41086
advisory
-
github.com
/jsuites/jsuites
web
-
npmjs.com
/package/jsuites
web
Sources
- CVE List CVE-2021-41086
- GitHub Advisory GHSA-qh7x-j4v8-qw5w
- NVD CVE-2021-41086
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.