๐Ÿ” CVE Alert

CVE-2026-31876

MEDIUM 5.4

Notesnook has Stored XSS via unsanitized Twitter/X embed URL in editor (`tweetToEmbed`)

CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor streetwriters
Product notesnook
Published Mar 11, 2026
Last Updated Mar 12, 2026
Stay Ahead of the Next One

Get instant alerts for streetwriters notesnook

Be the first to know when new medium vulnerabilities affecting streetwriters notesnook are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

streetwriters / notesnook
< 3.3.9

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5 github.com: https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7