# CVE-2021-41086: Clipboard-based XSS in jsuites

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 61% of CVEs (2026-12-01)
- Published: 2021-09-21T21:00:12.000Z
- Modified: 2026-07-08T06:28:03.516Z
- Also known as: GHSA-qh7x-j4v8-qw5w
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jsuites jsuites: < 4.9.11; before 4.9.11
- jsuites (npm): before 4.9.11

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w> (third-party-advisory, web)
- <https://github.com/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3> (patch, third-party-advisory, web)
- <https://github.com/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41086> (advisory)
- <https://github.com/jsuites/jsuites> (web)
- <https://www.npmjs.com/package/jsuites> (web)

## Sources

- CVE List: [CVE-2021-41086](https://www.cve.org/CVERecord?id=CVE-2021-41086), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qh7x-j4v8-qw5w](https://github.com/advisories/GHSA-qh7x-j4v8-qw5w), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41086](https://nvd.nist.gov/vuln/detail/CVE-2021-41086), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41086 · Whole record: https://cve.day/CVE-2021-41086.json · Rebuilt by cve.day 2026-11-25T22:58:04.092Z
