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

No history.

Information

Published : 2026-03-11 19:16

Updated : 2026-06-17 10:34


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')