Stored Cross-Site Scripting Vulnerability in Notesnook Note-Taking App
CVE-2026-31876

5.4MEDIUM

Key Information:

Status
Vendor
CVE Published:
11 March 2026

What is CVE-2026-31876?

A Stored Cross-Site Scripting vulnerability was identified in the Notesnook note-taking application. This issue arose in the editor embed component, particularly when processing Twitter/X embed URLs. The vulnerability was caused by the tweetToEmbed() function located in component.tsx, which improperly interpolated user-supplied URLs into an HTML string without taking essential precautions to escape them. Consequently, this allowed an attacker to execute malicious scripts within the context of the application, which could compromise user data and privacy. This vulnerability has been effectively resolved in version 3.3.9.

Affected Version(s)

notesnook < 3.3.9

References

CVSS V3.1

Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.