GitHub Advisoryadvisory · npm
GHSA-rqj3-x344-qvxc Seafile Server has multiple stored XSS vulnerabilities
MEDIUM
Official page ↗
- Aliases
- CVE-2026-30587
- Ecosystem
- npm
- Packages
- @seafile/sdoc-editor
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-04-02
Affected packages
• npm @seafile/sdoc-editor: >= 3.0.0, < 3.0.75 → fixed in 3.0.75
• npm @seafile/sdoc-editor: < 2.0.209 → fixed in 2.0.209
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.
Related
Alias · CVE (1)
- CVE-2026-30587 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,… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-30587 advisory
- https://github.com/haiwen/seadoc-editor/commit/8fa988aaede072b2ae073d1b2edcb2fc691423b2 web
- https://github.com/haiwen/seahub/commit/4c5301747bdb84c64b2f2b3230417df2d1cc8987 web
- https://gist.github.com/gabdevele/1b7e30ab367b26042fa32f45aa12ce2f web
- https://github.com/haiwen/seadoc-editor package
- https://manual.seafile.com/12.0/changelog/changelog-for-seafile-professional-server web
- https://manual.seafile.com/13.0/changelog/changelog-for-seafile-professional-server web
- https://manual.seafile.com/13.0/changelog/server-changelog web