Home

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.

PUBLISHED Reserved 2026-07-07 | Published 2026-07-09 | Updated 2026-07-10 | Assigner GitHub_M




HIGH: 8.6CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-94: Improper Control of Generation of Code ('Code Injection')

CWE-116: Improper Encoding or Escaping of Output

Product status

< 3.7.1
affected

References

github.com/...siyuan/security/advisories/GHSA-97xv-3v84-h358 exploit

github.com/...siyuan/security/advisories/GHSA-97xv-3v84-h358

github.com/...ommit/ebe252e61fb93f258d083b9da0fa403679fdf94a

github.com/siyuan-note/siyuan/releases/tag/v3.7.1

cve.org (CVE-2026-59833)

nvd.nist.gov (CVE-2026-59833)

Download JSON