CVE-2026-74902
published critical CVSS 4.0 · 9.3SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan0 to < 3.7.4 (affected · semver) · 3.7.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.6 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| siyuan-note | siyuan | 0 to < 3.7.4 (affected · semver)3.7.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-jf56-jrhq-j2qp) https://github.com/siyuan-note/siyuan/security/advisories/GHSA-jf56-jrhq-j2qp
- VulnCheck Advisory: SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload https://www.vulncheck.com/advisories/siyuan-before-xss-to-rce-via-malicious-filename-upload
Provider assertions
2VulnCheck · cna
SiYuan before v3.7.4 XSS-to-RCE via malicious filename upload
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 227cf84d1c4fafe905259b91ef5e7259fa79ae7b670d6e470c64e0074983bd19
- Ingested
- 09 Oct 2026, 16:37:07 UTC
- Source record
- Official CVE record