Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-41086

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-41086
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:57 UTC · Revision 1

Source evidence

CVE-2021-41086

core-osv · Original source

Published 21 Sept 2021, 21:15 UTC

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.

osv:CVE-2021-41086
Complete source record
{
  "id": "18e0cddc36b354f4f359cf4142e2dd4e81eac8182126082849bd4e1a111178ce",
  "url": "https://osv.dev/vulnerability/CVE-2021-41086",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-41086",
    "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.",
    "evidence": "osv:CVE-2021-41086",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-41086",
      "aliases": [
        "CVE-2021-41086",
        "GHSA-qh7x-j4v8-qw5w"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jsuites/jsuites",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f7995512fda3d1479c41eb5675e6bc92a55db5a1"
                },
                {
                  "fixed": "d47a6f4e143188dde2742f4cffd313e1068ad3b3"
                },
                {
                  "fixed": "fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:jsuites:jsuites:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.9.11"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d47a6f4e143188dde2742f4cffd313e1068ad3b3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.4.2",
            "v3.9.9",
            "v3.7.0",
            "v3.5.0",
            "v3.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41086.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:58.423768303Z",
      "provider": "osv",
      "references": [
        "https://github.com/jsuites/jsuites/security/advisories/GHSA-qh7x-j4v8-qw5w",
        "https://github.com/jsuites/jsuites/commit/d47a6f4e143188dde2742f4cffd313e1068ad3b3",
        "https://github.com/jsuites/jsuites/commit/fe1d3cc5e339f2f4da8ed1f9f42271fdf9cbd8d2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-41086",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386600,
  "published_at": "2021-09-21T21:15:07.13+00:00"
}