CVE-2026-65605
published critical CVSS 4.0 · 9.4SiYuan before v3.7.2 Stored XSS to RCE via Attribute View
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| siyuan-note | — | siyuan0 to < 3.7.2 (affected · semver) · 3.7.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
SiYuan before v3.7.2 contains a stored cross-site scripting vulnerability in Attribute View (database) cell rendering. A Template column value is rendered as HTML via text/template without auto-escaping, and EscapeHTML is only applied when HasUnclosedHtmlTag returns true; because balanced self-closing tags such as <img> are skipped by that check, a payload like <img src=x onerror=...> is stored unescaped and later inserted into the page via innerHTML, executing when the database is viewed. Because the desktop renderer runs with nodeIntegration enabled, the injected script can reach require and escalate to arbitrary command execution.
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.4 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/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 | 9.6 | critical | VulnCheck · cna | CVSS:3.1/AV:N/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.2 (affected · semver)3.7.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- Patch Commit https://github.com/siyuan-note/siyuan/commit/41f2861c87575ff5ac4b50a0520b1a4fe55b4a70
- GitHub Security Advisory (GHSA-pw5c-qhf3-jhwh) https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh
- VulnCheck Advisory: SiYuan before v3.7.2 Stored XSS to RCE via Attribute View https://www.vulncheck.com/advisories/siyuan-before-stored-xss-to-rce-via-attribute-view
Provider assertions
2VulnCheck · cna
SiYuan before v3.7.2 Stored XSS to RCE via Attribute View
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2066c0252c6afc971b7aaba5ecf73543d11b3803e4b3e9611febd7788fc2572
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record