Seafile Server has multiple stored XSS vulnerabilities
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | @seafile/sdoc-editor | >= 3.0.0, < 3.0.75, < 2.0.209 | 3.0.75, 2.0.209 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-30587
- https://github.com/haiwen/seadoc-editor/commit/8fa988aaede072b2ae073d1b2edcb2fc691423b2
- https://github.com/haiwen/seahub/commit/4c5301747bdb84c64b2f2b3230417df2d1cc8987
- https://gist.github.com/gabdevele/1b7e30ab367b26042fa32f45aa12ce2f
- https://github.com/haiwen/seadoc-editor
- https://manual.seafile.com/12.0/changelog/changelog-for-seafile-professional-server
- https://manual.seafile.com/13.0/changelog/changelog-for-seafile-professional-server
- https://manual.seafile.com/13.0/changelog/server-changelog
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
@seafile/sdoc-editor- Disclosed
- 25.03.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rqj3-x344-qvxc - CC BY 4.0
Vulnerability history: @seafile/sdoc-editor
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.