{"id":"CVE-2026-74902","aliases":["CVE-2026-74902"],"related":[],"kind":"vulnerability","state":"published","title":"SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"SiYuan antes de la v3.7.4 contiene una vulnerabilidad de cross-site scripting en el flujo de validación de carga de archivos que no logra escapar los nombres de archivo antes de insertarlos en HTML a través de insertAdjacentHTML. Los atacantes pueden crear un nombre de archivo malicioso que contiene cargas útiles de script que se ejecutan con acceso completo a comandos del sistema operativo cuando un usuario arrastra, suelta o pega el archivo en el editor.","source":"nvd"}],"published":"2026-08-18T11:19:34.741Z","modified":"2026-10-22T22:10:00.250Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.7.4","status":"affected"},{"type":"semver","version":"3.7.4","status":"unaffected"}],"vendor":"siyuan-note","product":"siyuan","source":"cvelist"}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf56-jrhq-j2qp","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-malicious-filename-upload","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["alham-rizvi"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-18T12:52:00.846Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74902","url":"https://www.cve.org/CVERecord?id=CVE-2026-74902","licence":"CVE Terms of Use","modified":"2026-10-08T15:51:41.982Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74902","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74902","licence":"Public domain","modified":"2026-10-22T22:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:33.432Z","epss":{"score":0.00147,"percentile":0.04131,"date":"2026-12-01T12:00:22.000Z"}}