Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Seafile Server
-
DeliveryCreate Seadoc with embedded Excalidraw whiteboard
-
ExploitInject malicious JavaScript in src attribute via WebSocket
-
ExecutionStored XSS payload executes in victim's browser
-
ImpactSteal session tokens or perform unauthorized actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Seafile Server versions 13.0.15, 13.0.16-pro, 12.0.14 and prior. Requires authenticated user account. Victim must open a document in the Seadoc editor containing crafted Excalidraw whiteboard src attributes or anchor href attributes via WebSocket messages. |
| Impact | This vulnerability presents moderate-to-high real-world risk despite the lack of assigned CVSS and EPSS scores. The attack vector is network-based and requires authentication, reducing opportunistic exploitation, but the stored nature of the XSS means malicious payloads persist and affect all users who subsequently view the compromised document. A public proof-of-concept is available on GitHub, significantly increasing exploitation likelihood. The technical impact is substantial: attackers can steal session tokens, perform actions on behalf of victims, or pivot to access sensitive documents within the Seafile repository. However, the requirement for authentication limits the threat actor pool. Organizations using Seafile should prioritize patching given the POC availability and persistence of the attack vector, though this does not constitute an emergency-level incident if rapid patching is feasible. |
| Exploit ScenarioDerived | An authenticated attacker creates or edits a document in Seafile's Seadoc editor and injects a malicious JavaScript payload within an Excalidraw whiteboard's src attribute or an anchor tag's href attribute via WebSocket manipulation. When other authorized users open the compromised document, the malicious script executes in their browser context, allowing the attacker to harvest session cookies, perform unauthorized actions such as document modifications or deletions, or escalate access to other repositories. A public proof-of-concept simplifies this exploitation, reducing the barrier to entry for less sophisticated attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 25, 2026
Multiple stored cross-site scripting (XSS) vulnerabilities exist in Seafile Server's Seadoc (sdoc) editor that fail to sanitize WebSocket messages related to document structure updates. Authenticated remote attackers can inject malicious JavaScript payloads through the src attribute of embedded Excalidraw whiteboards or the href attribute of anchor tags, affecting Seafile Server versions 13.0.15, 13.0.16-pro, 12.0.14 and prior. A proof-of-concept has been publicly disclosed on GitHub, and patches are available in versions 13.0.17, 13.0.17-pro, and 12.0.20-pro.
RemediationAI
Immediately upgrade Seafile Server to version 13.0.17, 13.0.17-pro, or 12.0.20-pro depending on your deployment track. Refer to official Seafile changelogs at https://manual.seafile.com for version-specific upgrade instructions. Until patching is completed, restrict access to Seafile to trusted users and networks via firewall rules, monitor WebSocket traffic for suspicious attribute patterns (particularly src and href values containing JavaScript protocols), and review document revision history for signs of injection. Additionally, enforce Content Security Policy (CSP) headers with strict script-src directives to mitigate XSS impact even if payloads are injected. The GitHub commit references (https://github.com/haiwen/seahub/commit/4c5301747bdb84c64b2f2b3230417df2d1cc8987 and https://github.com/haiwen/seadoc-editor/commit/8fa988aaede072b2ae073d1b2edcb2fc691423b2) provide insight into the patch implementation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Seadoc editor component of Seafile Server, which uses WebSocket communication to handle real-time document structure updates. The root cause is insufficient input validation and output encoding of user-supplied data within WebSocket messages, specifically for attributes in embedded elements like Excalidraw whiteboards (via src) and hyperlinks (via href). This is a classic stored XSS weakness (CWE-79: Improper Neutralization of Input During Web Page Generation) where user-controlled data is persisted in the document structure and later rendered in the browser without proper sanitization. The vulnerability affects Seafile's web-based collaborative editing infrastructure, which stores and transmits document modifications through WebSocket channels that bypass traditional HTTP request filtering.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Multiple Stored XSS vulnerabilities exist in Seafile Server version 13.0.15,13.0.16-pro,12.0.14 and prior and fixed in 13.0.17, 13.0.17-pro, and 12.0.20-pro, via the Seadoc (sdoc) editor. 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
Executive ViewAI
Organizations using Seafile Server should be aware of moderate risk from CVE-2026-30587 rated CVSS 5.4. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-15940
GHSA-rqj3-x344-qvxc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB