{"id":"CVE-2026-74902","revision":"213f707543ea49968a7b5dd9f1f4606b","records":[{"revision":"213f707543ea49968a7b5dd9f1f4606b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-74902","aliases":[],"title":"SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload","description":"SiYuan before v3.7.4 contains a cross-site scripting vulnerability in the file upload validation flow that fails to escape filenames before inserting them into HTML via insertAdjacentHTML. Attackers can craft a malicious filename containing script payloads that execute with full OS command access when a user drags, drops, or pastes the file into the editor.","state":0,"publishedAt":"2026-08-18T11:19:34.741+00:00","modifiedAt":"2026-10-08T15:51:41.982+00:00","affected":[{"ecosystem":"Vendor product","name":"siyuan","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"siyuan-note\",\n                    \"product\": \"siyuan\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:golang/github.com/siyuan-note/siyuan/kernel\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.7.4\"\n                        },\n                        {\n                            \"version\": \"3.7.4\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","score":9.3,"severity":"CRITICAL"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"severity":"HIGH"}],"references":["https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf56-jrhq-j2qp","https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-malicious-filename-upload"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74902","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-74902","identifiers":["CVE-2026-74902"]},"retained":false,"historicalAffected":[]}],"coverage":[]}