VDB
Sign up
MEDIUM5.4

GHSA-rqj3-x344-qvxc

Seafile Server has multiple stored XSS vulnerabilities

Quick fix

GHSA-rqj3-x344-qvxc — @seafile/sdoc-editor: upgrade to the fixed version with the command below.

npm install @seafile/sdoc-editor@3.0.75

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@seafile/sdoc-editor
Introduced in: 3.0.0Fixed in: 3.0.75
Fixnpm install @seafile/sdoc-editor@3.0.75
npm/@seafile/sdoc-editor
Introduced in: 0Fixed in: 2.0.209
Fixnpm install @seafile/sdoc-editor@2.0.209

References