Skip to main content
EPSS 0.2%top 86%

CVE-2026-75917: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan

0
Critical
Published: 08/19/2026 (08/19/2026, 14:01:51 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan note-taking software versions before 3.7.4 contain a critical cross-site scripting (XSS) vulnerability in the file-tree picker's hover-tooltip generation. The vulnerability arises because document metadata fields are concatenated into an HTML attribute without proper escaping, allowing injection of arbitrary HTML attributes and inline event handlers. Due to the Electron environment's configuration (nodeIntegration:true, contextIsolation:false, no CSP), this XSS can escalate to arbitrary OS command execution when a user hovers over a malicious document entry. The vulnerability affects local installations and can be triggered via shared, synced, or imported malicious documents.

CVSS v4.0

Score 9.3critical

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

siyuan-note

siyuan

Affected versions
>=0 <3.7.4
GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 09:01:53 UTC

Technical Analysis

CVE-2026-75917 is a critical cross-site scripting vulnerability in SiYuan note-taking software prior to version 3.7.4. The flaw exists in the file-tree picker's hover-tooltip generation code (app/src/util/pathName.ts, getLeaf()/movePathTo()), where document metadata fields such as bookmark, alias, memo, and alternate name are concatenated into the aria-label HTML attribute without escaping. An attacker can craft a document with a double quote in these fields to break out of the attribute context and inject arbitrary HTML attributes including inline event handlers like onmouseover. Because SiYuan runs in an Electron BrowserWindow with nodeIntegration enabled, contextIsolation disabled, and no Content Security Policy, the injected event handler can access Node.js APIs such as require('child_process'), enabling escalation from XSS to arbitrary OS command execution when a victim hovers over the malicious document entry in the path-picker dialog. Malicious documents can be delivered through sharing, synchronization, or import mechanisms.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary operating system commands on the victim's machine with the privileges of the SiYuan application user. This is due to the combination of XSS in the UI and the Electron environment's permissive configuration. The attack requires user interaction (hovering over the malicious document entry) and can lead to full system compromise or data theft.

Mitigation Recommendations

A fix is available in SiYuan version 3.7.4 and later. Users should upgrade to version 3.7.4 or newer to remediate this vulnerability. Until upgrading, avoid opening or interacting with untrusted or suspicious documents shared, synced, or imported into SiYuan. No other vendor advisory or patch information is provided, so check the official SiYuan channels for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-18T15:05:54.226Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a85bc6bacd9273b492f4868

Added to database: 08/19/2026, 14:23:39 UTC

Last enriched: 09/11/2026, 09:01:53 UTC

Last updated: 10/04/2026, 10:02:29 UTC

Views: 30

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses