CVE-2026-59833
JSON

8.6high

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

Severity
8.6high CVSS:4.0 by GitHub_M
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
siyuan-note siyuan< 3.7.1CVE List

Classification

CWE-79CWE-94CWE-116

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

SiYuan es un sistema de gestión de conocimiento personal de código abierto. Antes de la versión 3.7.1, SiYuan renderiza el contenido de notas y paquetes a HTML a través del motor Lute con la sanitización habilitada, pero el bloque de esquema de javascript peligroso de Lute no verifica los atributos form action o SVG xlink:href, permitiendo cross-site scripting almacenado en las rutas de renderizado de la vista previa de exportación de documentos y del archivo README de los paquetes de Bazaar que puede ejecutar comandos del sistema operativo en el renderizador de escritorio de Electron. Este problema está solucionado en las versiones 3.7.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59833 changed 2026-07-10CVE Terms of Use
NVDCVE-2026-59833 changed 2026-10-25Public domain