{"id":"CVE-2026-100641","published":"2026-09-26T13:23:13Z","modified":"2026-10-05T15:58:59Z","title":"SiYuan before v3.8.4 Stored XSS via Unescaped Flashcard Content","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan before v3.8.4 does not HTML-escape stored flashcard block content before interpolating it into the card-manager list markup. Block content returned by /api/riff/getRiffCards is inserted into a card item template in app/src/card/viewCards.ts and assigned to listElement.innerHTML, so content such as <img src=invalid onerror=...> becomes an executable event-handler attribute. Because the SiYuan desktop (Electron) main window is created with nodeIntegration enabled and contextIsolation disabled, an administrator who opens the card manager on a workspace containing attacker-supplied flashcard content (for example introduced through contribution or import) executes the attacker's script in a privileged renderer, which can lead to arbitrary code execution on the host. The affected endpoint remains behind authentication and administrator-role checks; this is an untrusted-content-to-privileged-renderer issue, not an authorization bypass.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00672,"percentile":0.53023,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-2mmf-4xwm-55rm","tags":["vendor-advisory"]},{"url":"https://github.com/siyuan-note/siyuan/commit/1ecb1c07de497ff03b585536fe5579291754d96b","tags":["patch"]},{"url":"https://github.com/siyuan-note/siyuan/commit/48c354e7de130aaada9d7120125bbc768344fd3b","tags":["patch"]},{"url":"https://github.com/siyuan-note/siyuan/commit/41b14025b4ac4a8379d1200580344ca18ad152b7","tags":["patch"]},{"url":"https://github.com/siyuan-note/siyuan/commit/8641553a1f07374001902d3ce773285db1292b2d","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-3.8.4-stored-xss-via-unescaped-flashcard-content","tags":["third-party-advisory"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.6},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.8.4"]}],"fixedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["3.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-05T15:58:53.239401Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-87735","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23645","parents":[{"from":"CVE-2026-23645","to":"CVE-2026-100641","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app/appearance/langs/en_US.json","app/appearance/langs/es_ES.json","app/appearance/langs/fr_FR.json","app/appearance/langs/zh_CHT.json","app/appearance/langs/zh_CN.json"],"commits":["https://github.com/siyuan-note/siyuan/commit/1ecb1c07de497ff03b585536fe5579291754d96b","https://github.com/siyuan-note/siyuan/commit/48c354e7de130aaada9d7120125bbc768344fd3b","https://github.com/siyuan-note/siyuan/commit/11115da3d0de950593ee4ce375cf7f9018484388"],"basis":"rarely changed file"}]},{"from":"CVE-2026-72795","to":"CVE-2026-100641","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/model/block.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/1ecb1c07de497ff03b585536fe5579291754d96b","https://github.com/siyuan-note/siyuan/commit/48c354e7de130aaada9d7120125bbc768344fd3b","https://github.com/siyuan-note/siyuan/commit/1ca1c3c9d94bea14fc9728ff2fb8392bb0f29732"],"basis":"rarely changed file"}]}]}}