Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33978: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in streetwriters notesnook

0
Medium
VulnerabilityCVE-2026-33978cvecve-2026-33978cwe-79
Published: Wed Apr 01 2026 (04/01/2026, 16:11:56 UTC)
Source: CVE Database V5
Vendor/Project: streetwriters
Product: notesnook

Description

Notesnook is a note-taking app focused on user privacy & ease of use. Prior to version 3.3.17, a stored XSS vulnerability exists in the mobile share / web clip flow because attacker-controlled clip metadata is concatenated into HTML without escaping and then rendered with innerHTML inside the mobile share editor WebView. An attacker can control the shared title metadata (for example through Android/iOS share metadata such as TITLE / SUBJECT, or through link-preview title data) and inject HTML such as </a><img src=x onerror=...>. When the victim opens the Notesnook share flow and selects Web clip, the payload is inserted into the generated HTML and executed in the mobile editor WebView. This issue has been patched in version 3.3.17.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/01/2026, 19:48:22 UTC

Technical Analysis

CVE-2026-33978 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79 affecting the Notesnook mobile application, a privacy-focused note-taking app by streetwriters. The vulnerability exists in versions prior to 3.3.17 within the mobile share and web clip flow. Specifically, the issue stems from improper neutralization of attacker-controlled input during web page generation inside the mobile share editor WebView. When a user shares content via Android or iOS share intents, metadata fields such as TITLE or SUBJECT, or link-preview title data, are incorporated directly into HTML without proper escaping or sanitization. This data is then rendered using innerHTML, which executes any embedded HTML or JavaScript. An attacker can craft malicious metadata containing payloads like </a><img src=x onerror=...> to execute arbitrary scripts when the victim opens the Notesnook share flow and selects the Web clip option. This stored XSS can lead to script execution within the context of the app's WebView, potentially allowing attackers to steal sensitive information accessible to the app or manipulate the app's UI. The vulnerability does not require authentication but does require user interaction to trigger. The CVSS v3.1 base score is 5.4 (medium severity), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and impacts on confidentiality and integrity but not availability. The issue was publicly disclosed on April 1, 2026, and has been patched in Notesnook version 3.3.17. No known exploits in the wild have been reported to date.

Potential Impact

The primary impact of this vulnerability is the potential execution of arbitrary scripts within the Notesnook mobile app's WebView environment. This can lead to unauthorized access to sensitive user data stored or processed by the app, such as notes content or metadata, thereby compromising confidentiality. Integrity may also be affected if the attacker can manipulate the app's UI or stored data through script injection. However, the vulnerability does not impact availability, as it does not cause denial of service or app crashes. Because exploitation requires user interaction (opening the share flow and selecting Web clip), the attack surface is somewhat limited. Nonetheless, given Notesnook's focus on privacy and secure note-taking, any compromise of confidentiality or integrity undermines user trust and can have serious consequences for individuals or organizations relying on the app for sensitive information. Organizations using vulnerable versions on mobile devices are at risk of targeted attacks, especially if attackers can trick users into sharing malicious content. The absence of known exploits in the wild reduces immediate risk but does not eliminate it, as the vulnerability is publicly known and patched.

Mitigation Recommendations

To mitigate this vulnerability, organizations and users should immediately update Notesnook to version 3.3.17 or later, where the issue has been patched. Developers should ensure that all user-controlled input, especially metadata used in HTML generation, is properly sanitized and escaped before rendering in WebView contexts to prevent injection attacks. Employing secure coding practices such as using safe APIs that do not rely on innerHTML or implementing strict Content Security Policies (CSP) within the app's WebView can further reduce risk. Users should be cautious when opening shared content or links from untrusted sources within the app. Organizations deploying Notesnook in managed environments should enforce app updates and consider monitoring for suspicious activity related to share flows. Additionally, security teams can perform regular code reviews and penetration testing focused on WebView components to detect similar issues proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-24T22:20:06.210Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69cd7224e6bfc5ba1dee83ea

Added to database: 4/1/2026, 7:29:40 PM

Last enriched: 4/1/2026, 7:48:22 PM

Last updated: 4/5/2026, 9:04:38 PM

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses