CVE-2026-30587: 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.
Published Mar 25, 2026 · Updated Apr 2, 2026
Affected packages
@seafile/sdoc-editor
- Ecosystem
- npm
- Affected
- >= 3.0.0, < 3.0.75
- Fixed in
- 3.0.75
- Check
npm ls @seafile/sdoc-editor
@seafile/sdoc-editor
- Ecosystem
- npm
- Affected
- < 2.0.209
- Fixed in
- 2.0.209
- Check
npm ls @seafile/sdoc-editor
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
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://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
- https://github.com/advisories/GHSA-rqj3-x344-qvxc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
