Code execution via unescaped note export fields
Published May 4, 2026 · Updated May 4, 2026
Stored XSS in Notesnook Web/Desktop before 3.3.15 allows remote attackers to execute code after a crafted note is exported to PDF. The export template inserts note-controlled title, headline, and content fields without HTML escaping, then loads the result into a same-origin, unsandboxed iframe with Node integration enabled. Exploitation requires attacker-controlled note data to enter the victim's account and the victim to export that note; successful desktop exploitation permits file access and command execution in the app's process context.
Summary
What happened
Stored XSS in Notesnook Web/Desktop before 3.3.15 allows remote attackers to execute code after a crafted note is exported to PDF. The export template inserts note-controlled title, headline, and content fields without HTML escaping, then loads the result into a same-origin, unsandboxed iframe with Node integration enabled. Exploitation requires attacker-controlled note data to enter the victim's account and the victim to export that note; successful desktop exploitation permits file access and command execution in the app's process context.
The record
- CVE
- CVE-2026-42090
- Published
- May 4, 2026
- Updated
- May 4, 2026
- Vendor
- Streetwriters
- Product
- Notesnook
- Classifications
- CWE-79, CWE-94, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 4, 2026CVE publishedPublication date reported by the CVE source.
- May 4, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Notesnook iOS/Android < 3.3.20
- Affected versionversion=Notesnook Web/Desktop < 3.3.15
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-fjm8-jg78-89h4 note-export proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo