RCE in Streetwriters Notesnook Desktop
CVE-2026-33976
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 55.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Streetwriters Notesnook Desktop
- Streetwriters Notesnook Ios/android — versions < 3.3.17
- Streetwriters Notesnook Mobile
- Streetwriters Notesnook Web/desktop — versions < 3.3.11
Weakness classification (CWE)
References
- https://github.com/streetwriters/notesnook/security/advisories/GHSA-f42f-phvp-43x5 (Exploit, Vendor Advisory)