Desktop code execution via unescaped database names
Published May 14, 2026 · Updated May 14, 2026
Stored cross-site scripting in SiYuan before 3.7.0 allows attackers to execute code when a crafted Attribute View name is rendered. The kernel stores the name unescaped, substitutes it into HTML with strings.ReplaceAll, and three renderer paths assign it to outerHTML or innerHTML. The payload must reach an existing Attribute View through an allowed local-origin client, import, sync peer, or co-author, and execution occurs when a user opens the bound document in the permissive Electron client.
Summary
What happened
Stored cross-site scripting in SiYuan before 3.7.0 allows attackers to execute code when a crafted Attribute View name is rendered. The kernel stores the name unescaped, substitutes it into HTML with strings.ReplaceAll, and three renderer paths assign it to outerHTML or innerHTML. The payload must reach an existing Attribute View through an allowed local-origin client, import, sync peer, or co-author, and execution occurs when a user opens the bound document in the permissive Electron client.
The record
- CVE
- CVE-2026-44670
- Published
- May 14, 2026
- Updated
- May 14, 2026
- Vendor
- SiYuan Note
- Product
- SiYuan
- Classifications
- CWE-1188, CWE-94, CWE-79, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 14, 2026CVE publishedPublication date reported by the CVE source.
- May 14, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 3.7.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-2h64-c999-c9r6 Attribute View name reproductionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo