CVE-2026-74902

published 18 Aug 2026 · updated 8 Oct 2026

SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload

8.6HighCVSS 8.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.7.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
siyuan-note<3.7.43.7.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-74902 severity on Zeptric[![CVE-2026-74902](https://zeptric.io/badge/cve/CVE-2026-74902.svg)](https://zeptric.io/cve/CVE-2026-74902)