{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.3.11"
              },
              {
                "fixed": "3.3.17"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "00a20dda48e63d04fec7724b8707c3a6b913f673"
            },
            {
              "fixed": "0af831d50b4de3a9766cf8d5ab33238ade61bf27"
            }
          ],
          "repo": "https://github.com/streetwriters/notesnook",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f42f-phvp-43x5"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33976.json"
  },
  "details": "Notesnook is a note-taking app. Prior to version 3.3.11 on Web/Desktop and 3.3.17 on Android/iOS, a stored XSS in the Web Clipper rendering flow can be escalated to remote code execution in the desktop app. The root cause is that the clipper preserves attacker-controlled attributes from the source page’s root element and stores them inside web-clip HTML. When the clip is later opened, Notesnook renders that HTML into a same-origin, unsandboxed iframe using `contentDocument.write(...)`. Event-handler attributes such as `onload`, `onclick`, or `onmouseover` execute in the Notesnook origin. In the desktop app, this becomes RCE because Electron is configured with `nodeIntegration: true` and `contextIsolation: false`. Version 3.3.11 Web/Desktop and 3.3.17 on Android/iOS patch the issue.",
  "id": "CVE-2026-33976",
  "modified": "2026-04-01T23:08:43.918904764Z",
  "published": "2026-03-27T21:26:10.127Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33976.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/streetwriters/notesnook/security/advisories/GHSA-f42f-phvp-43x5"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33976"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Notesnook vulnerable to RCE via stored XSS in Web Clipper rendering"
}