# CVE-2026-42090: Notesnook: RCE via stored XSS in note export rendering

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-05-04T16:43:07.527Z
- Modified: 2026-10-26T19:10:00.163Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- streetwriters notesnook: Notesnook Web/Desktop < 3.3.15; Notesnook iOS/Android < 3.3.20
- streetwriters notesnook_desktop: before 3.3.15
- streetwriters notesnook_mobile: before 3.3.20

## References

- <https://github.com/streetwriters/notesnook/security/advisories/GHSA-fjm8-jg78-89h4> (vendor-advisory)
- <https://github.com/streetwriters/notesnook/releases/tag/3.3.20-android> (release-notes)
- <https://github.com/streetwriters/notesnook/releases/tag/v3.3.15> (release-notes)

## Sources

- CVE List: [CVE-2026-42090](https://www.cve.org/CVERecord?id=CVE-2026-42090), CVE Terms of Use, modified 2026-05-05
- NVD: [CVE-2026-42090](https://nvd.nist.gov/vuln/detail/CVE-2026-42090), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42090 · Whole record: https://cve.day/CVE-2026-42090.json · Rebuilt by cve.day 2026-11-25T22:59:20.527Z
