# CVE-2026-59833: SiYuan: Stored XSS to RCE in SiYuan via a per-attribute URL-scheme sanitizer gap in Lute (form action / SVG xlink:href)

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/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.53%, higher than 38% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-09T22:17:05.933Z
- Modified: 2026-10-25T15:10:00.147Z
- Weaknesses: CWE-79, CWE-94, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, SiYuan renders note and package content to HTML through the Lute engine with sanitization enabled, but Lute's dangerous javascript scheme block does not check form action or SVG xlink:href attributes, allowing stored cross-site scripting in document export-preview and Bazaar package README render paths that can execute OS commands in the Electron desktop renderer. This issue is fixed in versions 3.7.1.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.7.1

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-97xv-3v84-h358> (exploit)
- <https://github.com/siyuan-note/siyuan/commit/ebe252e61fb93f258d083b9da0fa403679fdf94a>
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1>

## Sources

- CVE List: [CVE-2026-59833](https://www.cve.org/CVERecord?id=CVE-2026-59833), CVE Terms of Use, modified 2026-07-10
- NVD: [CVE-2026-59833](https://nvd.nist.gov/vuln/detail/CVE-2026-59833), Public domain, modified 2026-10-25

---

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