CVE-2026-31876
MEDIUMNotesnook Desktop < 3.3.9 - Stored Cross-Site Scripting via Twitter/X Embed URL
Title source: llmDescription
Notesnook is a note-taking app focused on user privacy & ease of use. Prior to 3.3.9, a Stored Cross-Site Scripting (XSS) vulnerability existed in Notesnook's editor embed component when rendering Twitter/X embed URLs. The tweetToEmbed() function in component.tsx interpolated the user-supplied URL directly into an HTML string without escaping, which was then assigned to the srcdoc attribute of an <iframe>. This vulnerability is fixed in 3.3.9.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5
Scores
CVSS v3
5.4
EPSS
0.0004
EPSS Percentile
12.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
streetwriters/notesnook_desktop
< 3.3.9
streetwriters/notesnook_mobile
< 3.3.15 (3 CPE variants)
Published
Mar 11, 2026
Tracked Since
Mar 12, 2026