{"id":"CVE-2026-59855","aliases":["CVE-2026-59855"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan: Store XSS To Rce via Asset.render","summary":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 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, Asset.render en app/src/asset/index.ts interpola el valor no saneado de this.path en HTML asignado a innerHTML, permitiendo que un enlace de activo manipulado que contenga una comilla doble escape del atributo src, inyecte un gestor de eventos y ejecute JavaScript que puede ejecutar comandos del sistema operativo en el renderizador de Electron. Este problema está solucionado en las versiones 3.7.1-alpha.2 y 3.7.1.","source":"nvd"}],"published":"2026-07-09T22:19:42.755Z","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-80"],"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-w3gq-5j72-36vc","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb","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":"partial","date":"2026-07-14T01:23:41.617Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59855","url":"https://www.cve.org/CVERecord?id=CVE-2026-59855","licence":"CVE Terms of Use","modified":"2026-07-14T01:24:09.004Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59855","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59855","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.579Z","epss":{"score":0.00387,"percentile":0.34891,"date":"2026-12-01T12:00:22.000Z"}}