{"id":"CVE-2026-66394","published":"2026-07-27T15:43:45Z","modified":"2026-10-08T15:24:01Z","title":"SiYuan before v3.7.3 Stored and Reflected XSS via SVG Sanitizer Bypass","vendor":"siyuan-note","product":"siyuan","tier":"tail","description":{"text":"SiYuan before v3.7.3 contains stored and reflected cross-site scripting vulnerabilities in SVG sanitization that allows authenticated attackers to execute scripts by bypassing the HTML parser-based cleaner. Attackers can hide script tags within desc, style, or noscript elements which the HTML parser treats as raw text but browsers interpret as executable SVG content when served as image/svg+xml, enabling script execution in the application origin.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00337,"percentile":0.27751,"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-99rq-75j6-5j9f","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-stored-and-reflected-xss-via-svg-sanitizer-bypass","tags":["third-party-advisory"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":5.55},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"siyuan-note","affectedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["< 3.7.3"]}],"fixedVersions":[{"vendor":"siyuan-note","product":"siyuan","versions":["3.7.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-27T17:58:40.465603Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/siyuan-note/siyuan/kernel","vulnerableRanges":["<0.0.0-20260714095344-f08dee71ba8e"],"patched":["0.0.0-20260714095344-f08dee71ba8e"],"from":["GO-2026-6364"],"provenance":"source"}],"summary":{"text":"The SiYuan note-taking application, before version 3.7.3, has stored and reflected cross-site scripting flaws in its SVG sanitization component, where the HTML parser-based cleaner fails to neutralize script content. An authenticated attacker can exploit this by hiding script tags inside desc, style, or noscript elements, which the sanitizer treats as plain text but which execute when the SVG is served as image/svg+xml, requiring the victim to interact with the malicious content (such as viewing it) and granting script execution within the application's origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:33Z"},"euvd":{"id":"EUVD-2026-49327","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-siyuan-note-siyuan-cve-2026-23645","parents":[{"from":"CVE-2026-23847","to":"CVE-2026-66394","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/api/icon.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/5c0cc375b47567e15edd2119066b09bb0aa18777","https://github.com/siyuan-note/siyuan/commit/f08dee71ba8e087a395d74f121de11e6a997ef14"],"basis":"shared function","functions":["getDynamicIcon"]}]},{"from":"CVE-2026-29183","to":"CVE-2026-66394","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["kernel/api/icon.go","kernel/util/misc.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/d68bd5a79391742b3cb2e14d892bdd9997064927","https://github.com/siyuan-note/siyuan/commit/f08dee71ba8e087a395d74f121de11e6a997ef14"],"basis":"shared function","functions":["getDynamicIcon","serveSVG"]}]}],"packageHistory":[{"cve":"CVE-2026-54158","published":"2026-06-24","fixed":"0.0.0-20260628153353-2d5d72223df4","kev":false},{"cve":"CVE-2026-59834","published":"2026-07-09","fixed":"0.0.0-20260704035518-d0f0fe146fb0","kev":false},{"cve":"CVE-2026-59832","published":"2026-07-09","fixed":"0.0.0-20260704035520-68cc0f537dfa","kev":false,"link":{"from":"CVE-2026-59832","to":"CVE-2026-66394","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260704035520-68cc0f537dfa","toFixed":"0.0.0-20260714095344-f08dee71ba8e","daysApart":18},{"kind":"same-code","provenance":"machine","files":["kernel/server/serve.go"],"commits":["https://github.com/siyuan-note/siyuan/commit/68cc0f537dfa4502496dfa794e71835421c25c09","https://github.com/siyuan-note/siyuan/commit/f08dee71ba8e087a395d74f121de11e6a997ef14"],"basis":"shared file"}]}},{"cve":"CVE-2026-66394","published":"2026-07-27","fixed":"0.0.0-20260714095344-f08dee71ba8e","kev":false},{"cve":"CVE-2026-69086","published":"2026-08-03","fixed":"0.0.0-20260720151813-0f5a0e7c67b0","kev":false,"link":{"from":"CVE-2026-66394","to":"CVE-2026-69086","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/siyuan-note/siyuan/kernel","fromFixed":"0.0.0-20260714095344-f08dee71ba8e","toFixed":"0.0.0-20260720151813-0f5a0e7c67b0","daysApart":7}]}},{"cve":"CVE-2026-69084","published":"2026-08-03","fixed":"0.0.0-20260721002947-23a17d44b5f3","kev":false},{"cve":"CVE-2026-69083","published":"2026-08-03","fixed":"0.0.0-20260721004815-cf42dd5680c8","kev":false}],"package":"Go:github.com/siyuan-note/siyuan/kernel"}}