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-30587

CVE-2026-30587: Seafile Server Stored XSS Vulnerability

CVE-2026-30587 is a stored XSS flaw in Seafile Server that allows authenticated attackers to inject malicious JavaScript via the Seadoc editor. This post covers technical details, affected versions, and patches.

Published: March 27, 2026

CVE-2026-30587 Overview

Multiple Stored Cross-Site Scripting (XSS) vulnerabilities have been identified in Seafile Server, an open-source file synchronization and sharing solution. The vulnerabilities exist in the Seadoc (sdoc) editor component, where the application fails to properly sanitize WebSocket messages regarding document structure updates. This allows authenticated remote attackers to inject malicious JavaScript payloads via the src attribute of embedded Excalidraw whiteboards or the href attribute of anchor tags.

Critical Impact

Authenticated attackers can execute arbitrary JavaScript in the context of other users' browsers, potentially leading to session hijacking, credential theft, and unauthorized actions within the Seafile platform.

Affected Products

  • Seafile Server version 13.0.15 and prior
  • Seafile Server version 13.0.16-pro and prior
  • Seafile Server version 12.0.14 and prior

Discovery Timeline

  • 2026-03-25 - CVE-2026-30587 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-30587

Vulnerability Analysis

The Stored XSS vulnerabilities in Seafile Server stem from improper input sanitization within the Seadoc editor's WebSocket message handling. When users collaborate on documents in real-time, the application processes WebSocket messages that contain document structure updates. These messages can include embedded content such as Excalidraw whiteboard elements and hyperlinks.

The application fails to adequately sanitize user-controlled input in two specific contexts: the src attribute of embedded Excalidraw whiteboards and the href attribute of anchor tags. Since these vulnerabilities are stored, malicious payloads persist in the document and execute whenever other users view or edit the affected content, making this a particularly dangerous attack vector in collaborative environments.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and output encoding within the Seadoc editor component. The WebSocket message handler does not properly sanitize or escape HTML special characters and JavaScript protocol handlers before incorporating user-supplied content into the document DOM. This allows attackers to craft malicious payloads that bypass any client-side sanitization and persist in the document structure.

The fix addresses this by implementing proper sanitization in both the SeaDoc editor and SeaHub components, as evidenced by the security commits published by the Seafile development team.

Attack Vector

An authenticated attacker can exploit this vulnerability by creating or editing a document within the Seafile Server and embedding malicious JavaScript code. The attack leverages the WebSocket-based real-time collaboration feature:

  1. The attacker authenticates to the Seafile Server with valid credentials
  2. The attacker creates or edits a document using the Seadoc editor
  3. Malicious JavaScript is injected via the src attribute of an Excalidraw whiteboard element or the href attribute of an anchor tag
  4. The payload is transmitted through WebSocket messages and stored in the document
  5. When other users open the document, the malicious script executes in their browser context

The vulnerability allows attackers to steal session cookies, perform actions on behalf of victims, or redirect users to malicious sites. Technical details and proof-of-concept information are available in the GitHub Gist PoC.

Detection Methods for CVE-2026-30587

Indicators of Compromise

  • Unusual JavaScript code patterns in document content, particularly javascript: protocol handlers in href or src attributes
  • Unexpected WebSocket messages containing script tags or event handlers
  • User reports of suspicious browser behavior when viewing specific documents
  • Session anomalies where user actions appear to originate from unexpected locations

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in WebSocket traffic
  • Monitor server logs for documents containing suspicious HTML patterns or JavaScript protocol handlers
  • Deploy Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Audit document content for embedded Excalidraw elements with non-standard src attributes

Monitoring Recommendations

  • Enable detailed logging for WebSocket communications within the Seadoc editor
  • Configure alerts for documents containing potentially malicious HTML or JavaScript content
  • Monitor for unusual user session patterns that may indicate session hijacking
  • Review access logs for documents that trigger security policy violations

How to Mitigate CVE-2026-30587

Immediate Actions Required

  • Upgrade Seafile Server to version 13.0.17, 13.0.17-pro, or 12.0.20-pro immediately
  • Audit existing documents for potentially malicious embedded content
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact
  • Review recent document editing activity for signs of exploitation

Patch Information

Seafile has released patched versions that address these vulnerabilities. Organizations should upgrade to the following fixed versions:

  • Seafile Server 13.0.17 (Community Edition)
  • Seafile Server 13.0.17-pro (Professional Edition)
  • Seafile Server 12.0.20-pro (Professional Edition for 12.x branch)

The security fixes have been implemented in both the SeaDoc editor and SeaHub components. For detailed information about the patches, refer to the SeaDoc Editor Commit and SeaHub Commit. Release notes are available in the Seafile 13.0 Changelog and Seafile 12.0 Changelog.

Workarounds

  • Restrict access to the Seadoc editor feature until patching is complete
  • Implement strict Content Security Policy headers to prevent inline script execution
  • Disable or restrict the Excalidraw whiteboard embedding feature if not required
  • Limit document sharing and collaboration features to trusted users only

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechSeafile

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.11%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • GitHub Gist PoC

  • GitHub SeaDoc Editor Commit

  • GitHub SeaHub Commit

  • Seafile 12.0 Changelog

  • Seafile 13.0 Changelog

  • Seafile 13.0 Server Changelog
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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