# CVE-2026-30587: Seafile Server has multiple stored XSS vulnerabilities

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-25T00:00:00.000Z
- Modified: 2026-06-17T10:32:49.470Z
- Also known as: GHSA-rqj3-x344-qvxc
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- @seafile/sdoc-editor (npm): from 3.0.0 before 3.0.75; before 2.0.209
- seafile seafile_server: before 12.0.20; 13.0.15; 13.0.16

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://gist.github.com/gabdevele/1b7e30ab367b26042fa32f45aa12ce2f> (exploit, third-party-advisory, web)
- <https://manual.seafile.com/13.0/changelog/server-changelog/> (release-notes)
- <https://manual.seafile.com/13.0/changelog/changelog-for-seafile-professional-server/> (release-notes)
- <https://manual.seafile.com/12.0/changelog/changelog-for-seafile-professional-server/> (release-notes)
- <https://github.com/haiwen/seahub/commit/4c5301747bdb84c64b2f2b3230417df2d1cc8987> (patch, web)
- <https://github.com/haiwen/seadoc-editor/commit/8fa988aaede072b2ae073d1b2edcb2fc691423b2> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30587> (advisory)
- <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)

## Sources

- CVE List: [CVE-2026-30587](https://www.cve.org/CVERecord?id=CVE-2026-30587), CVE Terms of Use, modified 2026-05-10
- GitHub Advisory Database: [GHSA-rqj3-x344-qvxc](https://github.com/advisories/GHSA-rqj3-x344-qvxc), CC-BY-4.0, modified 2026-04-02
- NVD: [CVE-2026-30587](https://nvd.nist.gov/vuln/detail/CVE-2026-30587), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30587 · Whole record: https://cve.day/CVE-2026-30587.json · Rebuilt by cve.day 2026-11-25T22:59:16.872Z
