PT-2026-36859 · Notesnook · Notesnook

·

CVE-2026-42090

·

Published

2026-05-04

·

Updated

2026-05-13

CVSS v3.1

9.6

Critical

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Notesnook Web/Desktop versions prior to 3.3.15 Notesnook iOS/Android versions prior to 3.3.20
Description A stored Cross-Site Scripting (XSS) issue exists in the note export flow. The problem occurs because exported note fields, including title, headline, and content, are inserted into the generated HTML template without proper HTML escaping. When a note is exported to PDF, the application renders this HTML into a same-origin, unsandboxed iframe using iframe.srcdoc. This allows injected scripts to execute within the Notesnook origin. In the desktop application, this can be escalated to remote code execution (RCE) because Electron is configured with nodeIntegration: true and contextIsolation: false.
Recommendations Update Web/Desktop versions to 3.3.15. Update iOS/Android versions to 3.3.20.

Exploit

Fix

RCE

XSS

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-42090
GHSA-FJM8-JG78-89H4

Affected Products

Notesnook