Code execution via aria-label attribute breakout
Published Aug 19, 2026 · Updated Aug 20, 2026
Cross-site scripting in SiYuan before 3.7.4 allows attackers to execute OS commands via crafted document metadata shown in path-picker tooltips. In app/src/util/pathName.ts, getLeaf() builds the aria-label HTML for movePathTo()-driven file-tree entries by concatenating bookmark, alternate-name, alias, and memo fields into a double-quoted attribute without escaping, so a double quote breaks attribute context and injects an inline handler. Exploitation requires a malicious document to reach the victim through sharing, sync, or import and the victim to hover its entry in a move or link dialog; in Electron windows with nodeIntegration enabled and no context isolation, that handler can invoke child_process at the victim's OS privilege level.
Summary
What happened
Cross-site scripting in SiYuan before 3.7.4 allows attackers to execute OS commands via crafted document metadata shown in path-picker tooltips. In app/src/util/pathName.ts, getLeaf() builds the aria-label HTML for movePathTo()-driven file-tree entries by concatenating bookmark, alternate-name, alias, and memo fields into a double-quoted attribute without escaping, so a double quote breaks attribute context and injects an inline handler. Exploitation requires a malicious document to reach the victim through sharing, sync, or import and the victim to hover its entry in a move or link dialog; in Electron windows with nodeIntegration enabled and no context isolation, that handler can invoke child_process at the victim's OS privilege level.
The record
- CVE
- CVE-2026-75917
- Published
- Aug 19, 2026
- Updated
- Aug 20, 2026
- Vendor
- SiYuan Note
- Product
- SiYuan
- Classifications
- CWE-79, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 19, 2026CVE publishedPublication date reported by the CVE source.
- Aug 20, 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=0 <3.7.4
What conditions does exploitation require?
What is affected?
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-jjq3-3942-x99r reproduction steps and payloadproof of concept · 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