Unrated severityNVD Advisory· Published Jul 9, 2026· Updated Jul 10, 2026
SiYuan: Stored XSS to RCE in SiYuan via a per-attribute URL-scheme sanitizer gap in Lute (form action / SVG xlink:href)
CVE-2026-59833
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.
Affected products
1- Range: <3.7.1
Patches
Vulnerability mechanics
References
3- github.com/siyuan-note/siyuan/commit/ebe252e61fb93f258d083b9da0fa403679fdf94amitrex_refsource_MISC
- github.com/siyuan-note/siyuan/releases/tag/v3.7.1mitrex_refsource_MISC
- github.com/siyuan-note/siyuan/security/advisories/GHSA-97xv-3v84-h358mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.