CVE-2026-31876

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:streetwriters:notesnook_desktop:*:*:*:*:*:*:*:*
cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:android:*:*
cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:iphone_os:*:*

History

17 Mar 2026, 15:59

Type Values Removed Values Added
CPE cpe:2.3:a:streetwriters:notesnook_mobile:*:*:*:*:*:ios:*:* 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
  • (es) Notesnook es una aplicación para tomar notas centrada en la privacidad del usuario y la facilidad de uso. Previo a la 3.3.9, existía una vulnerabilidad de cross-site scripting (XSS) almacenado en el componente de incrustación del editor de Notesnook al renderizar URLs de incrustación de Twitter/X. La función tweetToEmbed() en component.tsx interpolaba la URL proporcionada por el usuario directamente en una cadena HTML sin escapar, la cual se asignaba luego al atributo srcdoc de un . Esta vulnerabilidad está corregida en la versión 3.3.9.
References () https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7 - () https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7 - Patch
References () https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5 - () 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')