Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Critical
Published: 08/19/2026 (08/19/2026, 15:32:28 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan through 3.7.3 contains a cross-site scripting vulnerability in the '((' block-reference autocomplete hint popup. In genHintItemHTML() (app/src/protyle/hint/extend.ts), a candidate block's name, alias, and memo fields are concatenated into the popup's HTML without escaping. An attacker who can set these metadata fields on a block can inject a self-firing payload (e.g. <img src=x onerror=...>) that executes automatically when a victim types '((' followed by a search term that surfaces the crafted block. Because SiYuan's Electron windows run with nodeIntegration enabled, contextIsolation disabled, and no CSP, the injected script gains require('child_process') access, allowing the XSS to escalate to arbitrary OS command execution.

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

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

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: 08/19/2026, 15:07:29 UTC

Technical Analysis

CVE-2026-75916 describes a cross-site scripting vulnerability in SiYuan note-taking software versions up to 3.7.3. The issue occurs in the genHintItemHTML() function where block metadata fields (name, alias, memo) are inserted into the autocomplete hint popup HTML without escaping. An attacker who controls these fields can inject a self-executing payload that triggers when a user types '((' followed by a search term that surfaces the malicious block. Because SiYuan's Electron windows run with nodeIntegration enabled, contextIsolation disabled, and no Content Security Policy, the injected script can access Node.js APIs such as require('child_process'), enabling escalation from XSS to arbitrary OS command execution.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application, which escalates to arbitrary operating system command execution due to Electron's insecure configuration. This can lead to full system compromise of the host running the vulnerable software.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening untrusted blocks or content that could trigger the vulnerable autocomplete popup. Consider running SiYuan in a more secure Electron configuration if possible (e.g., disabling nodeIntegration, enabling contextIsolation, or applying a Content Security Policy) to reduce risk.

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
Remediation Level
null

Threat ID: 6a85bc6bacd9273b492f4866

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

Last enriched: 08/19/2026, 15:07:29 UTC

Last updated: 08/19/2026, 17:55:44 UTC

Views: 3

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