# CVE-2026-74902: SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-18T11:19:34.741Z
- Modified: 2026-10-22T22:10:00.250Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.4 (not affected: 3.7.4)

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf56-jrhq-j2qp> (vendor-advisory)
- <https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-malicious-filename-upload> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-74902](https://www.cve.org/CVERecord?id=CVE-2026-74902), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2026-74902](https://nvd.nist.gov/vuln/detail/CVE-2026-74902), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-74902 · Whole record: https://cve.day/CVE-2026-74902.json · Rebuilt by cve.day 2026-11-25T22:59:33.432Z
