Skip to content

Instantly share code, notes, and snippets.

@x0root
Last active December 2, 2025 23:10
Show Gist options
  • Select an option

  • Save x0root/e5597622fede55b320d29a248dce01e6 to your computer and use it in GitHub Desktop.

Select an option

Save x0root/e5597622fede55b320d29a248dce01e6 to your computer and use it in GitHub Desktop.
CVE-2025-65516 — Seafile Stored XSS (SVG upload leads to arbitrary JavaScript execution in Golang file server)
CVE-2025-65516 — Seafile Stored XSS
[Suggested Description]:
A stored cross-site scripting (XSS) vulnerability exists in Seafile Community Edition when using the Golang file server. A crafted SVG file containing malicious JavaScript can be uploaded and accessed through a public sharing link, resulting in script execution in the victim’s browser.
[Vulnerability Type]: Cross Site Scripting (XSS)
[Affected Versions]:
Seafile Community Edition — all versions below 13.0.12
[Fixed Version]:
13.0.12
[Attack Type]: Remote
[Attack Vectors]:
An attacker uploads a malicious SVG file, shares the public link, and the payload executes when a victim opens the preview.
[Impact]: Stored XSS leading to arbitrary JavaScript execution and possible information exposure.
[Vendor Confirmed]: Yes
[Vendor Reference]:
https://manual.seafile.com/latest/changelog/server-changelog/
[Discoverer]:
Jose Alfredo Bukit
[Additional Information]:
Vendor credited the reporter and issued a bounty. Issue only affects deployments using the Golang file server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment