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
Configurations
Configuration 1 (hide)
|
History
17 Mar 2026, 15:59
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:* |
16 Mar 2026, 20:54
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Streetwriters notesnook Desktop
Streetwriters notesnook Mobile Streetwriters |
|
| Summary |
|
|
| References | () https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7 - Patch | |
| References | () https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5 - Vendor Advisory | |
| CPE | cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:* cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:ios:*:* cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:* |
11 Mar 2026, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-11 19:16
Updated : 2026-03-17 15:59
NVD link : CVE-2026-31876
Mitre link : CVE-2026-31876
CVE.ORG link : CVE-2026-31876
JSON object : View
Products Affected
streetwriters
- notesnook_desktop
- notesnook_mobile
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
