What’s Vulnerable › Vulnerabilities
CVE-2026-30587
- Severity: high (CVSS 8.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-25 · updated 2026-06-17
- Weakness: CWE-79
Description
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 products
- haiwen seafile-server: before 12.0.20; 13.0.15, 13.0.16 — fixed in 12.0.20
How to fix
Upgrade to a fixed version: haiwen seafile-server 12.0.20. Check the vendor advisory for mitigations.
References
- https://gist.github.com/gabdevele/1b7e30ab367b26042fa32f45aa12ce2f
- https://github.com/haiwen/seadoc-editor/commit/8fa988aaede072b2ae073d1b2edcb2fc691423b2
- https://github.com/haiwen/seahub/commit/4c5301747bdb84c64b2f2b3230417df2d1cc8987
- 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/
Get alerted when CVE-2026-30587 or the next vulnerability affects your stack