Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33978

CVE-2026-33978: Notesnook Stored XSS Vulnerability

CVE-2026-33978 is a stored XSS flaw in Notesnook's mobile share/web clip flow that allows attackers to inject malicious HTML through share metadata. This post covers technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-33978 Overview

CVE-2026-33978 is a stored Cross-Site Scripting (XSS) vulnerability affecting Notesnook, a privacy-focused note-taking application. The vulnerability exists in the mobile share and web clip flow where attacker-controlled clip metadata is concatenated into HTML without proper escaping and then rendered using innerHTML inside the mobile share editor WebView. This allows attackers to inject malicious scripts that execute within the context of the victim's session.

Critical Impact

Attackers can execute arbitrary JavaScript code in the victim's Notesnook mobile WebView by crafting malicious share metadata, potentially compromising user data, session tokens, or performing actions on behalf of the user.

Affected Products

  • Notesnook mobile application versions prior to 3.3.17
  • Notesnook Android application (affected via Android share intents)
  • Notesnook iOS application (affected via iOS share metadata)

Discovery Timeline

  • April 1, 2026 - CVE-2026-33978 published to NVD
  • April 1, 2026 - Last updated in NVD database

Technical Details for CVE-2026-33978

Vulnerability Analysis

This stored XSS vulnerability (CWE-79) occurs due to improper input sanitization in the mobile share/web clip workflow. When a user shares content to Notesnook from external applications or web pages, the application processes metadata fields including titles and subjects. The vulnerable code path accepts this metadata and directly concatenates it into an HTML string without proper encoding or escaping, subsequently rendering it via the innerHTML property in the mobile editor WebView.

The attack requires user interaction—specifically, the victim must initiate the share flow and select the "Web clip" option. Once triggered, the payload executes within the WebView context, which may have access to sensitive application data and functionality.

Root Cause

The root cause is the absence of HTML entity encoding or sanitization when processing externally-supplied metadata (such as TITLE or SUBJECT fields from Android/iOS share intents, or link-preview title data) before inserting it into the DOM. The application trusts this user-controllable input and renders it directly using innerHTML, which interprets any HTML tags within the input string rather than treating them as plain text.

Attack Vector

The attack exploits the share functionality available on both Android and iOS platforms. An attacker can craft a malicious payload by:

  1. Creating content with a specially crafted title containing HTML injection payloads
  2. Sharing this content to the victim's device via standard sharing mechanisms
  3. When the victim opens Notesnook's share flow and selects "Web clip," the malicious title metadata is processed
  4. The injected HTML (such as </a><img src=x onerror=...>) is inserted into the generated HTML document
  5. The payload executes in the mobile editor WebView context

The attack can be delivered through Android share intents (TITLE/SUBJECT extras), iOS share extension metadata, or manipulated link-preview title data. The vulnerability is particularly concerning as it exploits a common user workflow—clipping web content for later reference.

Detection Methods for CVE-2026-33978

Indicators of Compromise

  • Unexpected JavaScript execution or alerts when using the share/web clip feature
  • Unusual network requests originating from the Notesnook WebView
  • Reports of modified or corrupted notes appearing after using the share functionality
  • Presence of HTML tags such as <img>, <script>, or event handlers like onerror in note metadata

Detection Strategies

  • Monitor application logs for WebView JavaScript errors or unexpected script execution events
  • Implement content security policies (CSP) within WebViews to restrict inline script execution
  • Review shared content metadata for suspicious HTML patterns before processing
  • Use static analysis tools to identify innerHTML usage with unsanitized input

Monitoring Recommendations

  • Enable verbose logging for the share/web clip functionality to capture metadata processing
  • Monitor for anomalous WebView behavior patterns indicating script injection
  • Track application crash reports that may indicate exploitation attempts
  • Review user-reported issues related to the share functionality for potential attack indicators

How to Mitigate CVE-2026-33978

Immediate Actions Required

  • Update Notesnook to version 3.3.17 or later immediately
  • Temporarily disable the web clip feature if immediate update is not possible
  • Review any recently clipped content for signs of malicious injection
  • Clear application cache and data if exploitation is suspected

Patch Information

The vulnerability has been addressed in Notesnook version 3.3.17. The fix involves proper HTML entity encoding of user-controllable metadata before it is inserted into the DOM. For technical details on the patch implementation, refer to the GitHub commit fc8807f and the GitHub Security Advisory GHSA-f27j-fqc6-v7pm. The patched Android version is available via the GitHub Release 3.3.17-android.

Workarounds

  • Avoid using the share/web clip feature until the application is updated
  • Manually copy and paste content instead of using the system share functionality
  • Review and sanitize any content before opening it in the web clip flow
  • Consider using the desktop or web version of Notesnook as an alternative until the mobile app is patched
bash
# Verify Notesnook version on Android
# Navigate to Settings > About in the application
# Ensure version is 3.3.17 or higher

# Update via package manager (if using F-Droid or similar)
# Or download directly from GitHub releases

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechNotesnook

  • SeverityMEDIUM

  • CVSS Score5.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Release 3.3.17

  • GitHub Security Advisory GHSA-f27j-fqc6-v7pm
  • Related CVEs
  • CVE-2026-31876: Notesnook Stored XSS Vulnerability

  • CVE-2026-33976: Notesnook Desktop RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English