# CVE-2026-23645: SiYuan Vulnerable to Stored Cross-Site Scripting (XSS) via Unrestricted SVG File Upload

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA: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.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-16T19:20:06.744Z
- Modified: 2026-06-17T10:21:53.083Z
- Also known as: GHSA-pcjq-j3mq-jv5j, GO-2026-4324
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SiYuan is self-hosted, open source personal knowledge management software. Prior to 3.5.4-dev2, a Stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan Note. The application does not sanitize uploaded SVG files. If a user uploads and views a malicious SVG file (e.g., imported from an untrusted source), arbitrary JavaScript code is executed in the context of their authenticated session. This vulnerability is fixed in 3.5.4-dev2.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.5.4-dev2
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260116101155-11115da3d0de
- b3log siyuan: before 3.5.4; 3.5.4

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pcjq-j3mq-jv5j> (exploit, advisory, patch, vendor-advisory, web)
- <https://github.com/siyuan-note/siyuan/issues/16844> (issue-tracking, patch, web)
- <https://github.com/siyuan-note/siyuan/commit/11115da3d0de950593ee4ce375cf7f9018484388> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23645> (advisory)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-23645](https://www.cve.org/CVERecord?id=CVE-2026-23645), CVE Terms of Use, modified 2026-01-16
- GitHub Advisory Database: [GHSA-pcjq-j3mq-jv5j](https://github.com/advisories/GHSA-pcjq-j3mq-jv5j), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2026-4324](https://pkg.go.dev/vuln/GO-2026-4324), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2026-23645](https://nvd.nist.gov/vuln/detail/CVE-2026-23645), Public domain, modified 2026-06-17

---

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