CVE-2026-31876
MEDIUM EPSS 6.8%
Published Mar 11, 20263mo ago · Modified Jun 17, 20262w ago
5.4 CVSS 3.1
Published Mar 11, 2026 3mo ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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
Threat Intelligence
EPSS Exploit Probability
6.8% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 3
| Vendor | Product | Version | Range |
|---|---|---|---|
| streetwriters | notesnook_desktop | * | <3.3.9 |
| streetwriters | notesnook_mobile | * | <3.3.15 |
| streetwriters | notesnook_mobile | * | <3.3.15 |
References 2
- github.com https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7
- github.com https://github.com/streetwriters/notesnook/security/advisories/GHSA-jprx-2w2h-4rh5
Remediation
- github.com https://github.com/streetwriters/notesnook/commit/e87f5e5f899f45df28d7c0f33f15e9178d1fbcb7