CVE-2026-42090
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNotesnook 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA stored XSS vulnerability exists in Notesnook's note export flow where note fields (title, headline, content) are inserted into generated HTML templates without proper HTML escaping. When notes are exported to PDF, the unsanitized HTML is rendered in a same-origin, unsandboxed iframe via iframe.srcdoc, causing script execution. In the Electron desktop app, this escalates to RCE because nodeIntegration is enabled and contextIsolation is disabled, allowing injected JavaScript to access Node.js APIs.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 3.3.15< 3.3.20CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Notesnook Desktop versionOpen the desktop app and navigate to Settings > About, or check the application metadata file (e.g., package.json or app metadata)Affected if The installed version is lower than 3.3.15
-
Check installed Notesnook Mobile versionOpen the mobile app, go to Settings > About, or check the app store listing for the installed versionAffected if The installed version is lower than 3.3.20 on iOS or Android
-
Verify Electron security configuration in desktop appInspect the main Electron process code or bundled resources for nodeIntegration: true and contextIsolation: false settings in the BrowserWindow configurationAffected if nodeIntegration is true AND contextIsolation is false in the Electron configuration (enables RCE escalation)
-
Check if PDF export functionality is accessibleAttempt to export a note to PDF through the export menu or API endpoint (typically /api/export/pdf)Affected if PDF export feature is available and functional in the environment
-
Inspect exported PDF for unsandboxed iframe usageExamine the generated PDF HTML source or the webview/iframe rendering code for iframe.srcdoc without sandbox attributeAffected if The export flow uses iframe.srcdoc without the sandbox attribute for rendering PDF content
You are affected if you are running Notesnook Desktop below version 3.3.15 or Mobile below version 3.3.20 AND you use the PDF export feature, with the desktop app additionally having insecure Electron security settings.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.3.153.3.20
Upgrade Notesnook Web/Desktop to version 3.3.15 or later, and iOS/Android to version 3.3.20 or later. As a defensive measure, disable or restrict the note export feature until patching is complete.
Notesnook Desktop 3.3.15 / Notesnook Mobile 3.3.20
- Upgrade Notesnook Desktop to version 3.3.15 or later
- Upgrade Notesnook Mobile (iOS/Android) to version 3.3.20 or later
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation16.0 h
- Testing12.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $11,200.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-42090 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-42090 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data