{"id":"CVE-2026-74902","state":"PUBLISHED","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.","publishedAt":"2026-08-18T11:19:34.741Z","updatedAt":"2026-10-08T15:51:41.982Z","severity":{"score":9.3,"label":"Critical","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["siyuan-note siyuan"],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:golang/github.com/siyuan-note/siyuan/kernel","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.7.4","versionType":"semver"},{"version":"3.7.4","status":"unaffected","versionType":"semver"}]}],"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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74902.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74902","state":"PUBLISHED","datePublished":"2026-08-18T11:19:34.741Z","dateUpdated":"2026-10-08T15:51:41.982Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-17T10:48:45.738Z"},"containers":{"cna":{"title":"SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"siyuan-note","product":"siyuan","packageURL":"pkg:golang/github.com/siyuan-note/siyuan/kernel","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.7.4","versionType":"semver"},{"version":"3.7.4","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf56-jrhq-j2qp","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-jf56-jrhq-j2qp)"},{"url":"https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-malicious-filename-upload","name":"VulnCheck Advisory: SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.3,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.6,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-08T15:51:41.982Z"},"datePublic":"2026-08-04T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*","versionEndExcluding":"3.7.4"}]}]}],"credits":[{"lang":"en","value":"alham-rizvi","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T12:52:00.846926Z","id":"CVE-2026-74902","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T13:36:31.175Z"}}]}}}