{"id":"CVE-2026-59833","aliases":["CVE-2026-59833"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan: Stored XSS to RCE in SiYuan via a per-attribute URL-scheme sanitizer gap in Lute (form action / SVG xlink:href)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-09T22:17:05.933Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"}],"cwes":["CWE-79","CWE-94","CWE-116"],"affected":[{"ranges":[{"version":"< 3.7.1","status":"affected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-97xv-3v84-h358","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/ebe252e61fb93f258d083b9da0fa403679fdf94a","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-07-10T14:15:26.840Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59833","url":"https://www.cve.org/CVERecord?id=CVE-2026-59833","licence":"CVE Terms of Use","modified":"2026-07-10T14:17:16.135Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59833","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59833","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.577Z","epss":{"score":0.00529,"percentile":0.38212,"date":"2026-11-30T12:00:22.000Z"}}