CVE-2026-42090
Notesnook: RCE via stored XSS in note export rendering
Mitigation
- Upgrade notesnook to 3.3.20 or later.
Who should check
- Anyone running streetwriters notesnook Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20
Vulnerability facts
- Affected
- streetwriters notesnook Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20
- Fixed in
- streetwriters notesnook 3.3.15, streetwriters notesnook 3.3.20
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.85% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-79, CWE-94
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| streetwriters notesnook | Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-42090. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-42090.md Affected: streetwriters notesnook Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20 Fixed in: streetwriters notesnook 3.3.15, streetwriters notesnook 3.3.20 Steps: 1. Search this machine and project for streetwriters notesnook: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-42090 being exploited?
There is no confirmed exploitation: CVE-2026-42090 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-42090?
Critical: CVSS 9.6 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-42090?
streetwriters notesnook Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20.
Is there a fix for CVE-2026-42090?
Yes. Fixed in streetwriters notesnook 3.3.15, streetwriters notesnook 3.3.20. Upgrade notesnook to 3.3.20 or later.
How do I check if I'm affected by CVE-2026-42090?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.