Notesnook: RCE via stored XSS in note export rendering
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting, Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79 and CWE-94.
Summary
Notesnook is a note-taking app focused on user privacy & ease of use. Prior to Notesnook Web/Desktop version 3.3.15 and prior to Notesnook iOS/Android version 3.3.20, a stored XSS vulnerability in the note export flow can be escalated to remote code execution in the desktop app. The root cause is that exported note fields such as title, headline, and content are inserted into the generated HTML template without HTML escaping. When the note is later exported to PDF, Notesnook renders that HTML into a same-origin, unsandboxed iframe using iframe.srcdoc = .... Injected script executes in the Notesnook origin. In the desktop app, this becomes RCE because Electron is configured with nodeIntegration: true and contextIsolation: false. This issue has been patched in Notesnook Web/Desktop version 3.3.15 and Notesnook iOS/Android version 3.3.20.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| streetwriters | notesnook | Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20 | — | No fix listed | CNA |
- notesnook Vendorstreetwriters Affected Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20 Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:* | before 3.3.15 | Vulnerable | streetwriters |
| cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:* | before 3.3.20 | Vulnerable | streetwriters |
| cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:* | before 3.3.20 | Vulnerable | streetwriters |
- cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:* Versions before 3.3.15 Vulnerable ·streetwriters
- cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:* Versions before 3.3.20 Vulnerable ·streetwriters
- cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:* Versions before 3.3.20 Vulnerable ·streetwriters
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-42090
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More streetwriters Notesnook Desktop vulnerabilities
- TI-2026-26317 Notesnook vulnerable to RCE via stored XSS in Web Clipper rendering CVSS 3.1CRITICAL 9.7
- TI-2026-26305 Notesnook vulnerable to RCE via stored XSS in Note History diff viewer CVSS 3.1HIGH 8.6
- TI-2026-24428 Notesnook has Stored XSS via unsanitized Twitter/X embed URL in editor (`tweetToEmbed`) CVSS 3.1MEDIUM 5.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences