{"schema_version":"1.9.0","id":"CVE-2026-23645","published":"2026-01-16T19:20:06.744Z","modified":"2026-08-12T03:51:12.978373315Z","aliases":["GHSA-pcjq-j3mq-jv5j","GO-2026-4324"],"related":["SUSE-SU-2026:0403-1","openSUSE-SU-2026:21483-1"],"summary":"SiYuan Vulnerable to Stored Cross-Site Scripting (XSS) via Unrestricted SVG File Upload","details":"SiYuan is self-hosted, open source personal knowledge management software. Prior to 3.5.4-dev2, a Stored Cross-Site Scripting (XSS) vulnerability exists in SiYuan Note. The application does not sanitize uploaded SVG files. If a user uploads and views a malicious SVG file (e.g., imported from an untrusted source), arbitrary JavaScript code is executed in the context of their authenticated session. This vulnerability is fixed in 3.5.4-dev2.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/siyuan-note/siyuan","events":[{"introduced":"0"},{"fixed":"d5d10dd41b0c9090adc63062c77185e711d59030"},{"introduced":"f03400aa41894b5fb008059e16c14927ffed439a"},{"fixed":"11115da3d0de950593ee4ce375cf7f9018484388"}],"database_specific":{"cpe":["cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*","cpe:2.3:a:b3log:siyuan:3.5.4:dev1:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"3.5.4"},{"introduced":"3.5.4-dev1"},{"last_affected":"3.5.4-dev1"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["3.5.4-dev1","v3.5.4-dev5","v3.5.4-dev3","v3.5.4-dev2","v3.5.4-dev1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23645.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23645.json"},{"type":"ADVISORY","url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pcjq-j3mq-jv5j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23645"},{"type":"REPORT","url":"https://github.com/siyuan-note/siyuan/issues/16844"},{"type":"FIX","url":"https://github.com/siyuan-note/siyuan/commit/11115da3d0de950593ee4ce375cf7f9018484388"}],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23645.json"},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}