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)
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
SiYuanto a version that resolves this vulnerability.Fixed in 3.7.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-59833?
The severity of CVE-2026-59833 is high, with a CVSS score of 8.6.
What vulnerability does CVE-2026-59833 exploit?
CVE-2026-59833 exploits a stored cross-site scripting (XSS) vulnerability that can lead to remote code execution (RCE) in SiYuan.
How do I fix CVE-2026-59833?
To fix CVE-2026-59833, upgrade SiYuan to version 3.7.1 or later, where the vulnerability has been addressed.
What components of SiYuan are affected by CVE-2026-59833?
CVE-2026-59833 affects the Lute engine in SiYuan, specifically regarding the handling of form action and SVG xlink:href attributes.
Is CVE-2026-59833 a critical vulnerability?
Yes, CVE-2026-59833 is considered critical due to its potential for remote code execution and high severity score.