CVE-2026-55570: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan, an open-source personal knowledge management system, has a critical cross-site scripting (XSS) vulnerability in versions prior to 3.7.0. The vulnerability arises because untrusted fields (name, version, author, description) are not properly escaped when serialized into an HTML attribute, allowing injection of arbitrary HTML. In the desktop client, this XSS can escalate to arbitrary OS command execution due to the application's nodeIntegration and contextIsolation settings. This vulnerability is fixed in version 3.7.0.
AI Analysis
Technical Summary
CVE-2026-55570 is a critical vulnerability in SiYuan versions before 3.7.0 where untrusted input fields are serialized into a single-quoted HTML attribute using JSON.stringify(), which does not escape characters like single quotes or angle brackets. This allows an attacker to break out of the attribute context and inject arbitrary HTML. Because the desktop client runs with nodeIntegration enabled and contextIsolation disabled, this DOM-based XSS can escalate to arbitrary OS command execution. The issue is a variant of a previously patched vulnerability but affects a sibling sink not covered by the original fix. The vulnerability is resolved in SiYuan 3.7.0.
Potential Impact
Successful exploitation allows an attacker to inject arbitrary HTML and escalate from DOM-based cross-site scripting to arbitrary operating system command execution on the desktop client. This results in full compromise of the affected system's confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No other mitigation is indicated by the vendor advisory.
CVE-2026-55570: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan, an open-source personal knowledge management system, has a critical cross-site scripting (XSS) vulnerability in versions prior to 3.7.0. The vulnerability arises because untrusted fields (name, version, author, description) are not properly escaped when serialized into an HTML attribute, allowing injection of arbitrary HTML. In the desktop client, this XSS can escalate to arbitrary OS command execution due to the application's nodeIntegration and contextIsolation settings. This vulnerability is fixed in version 3.7.0.
CVSS v3.1
Score 9.0critical
Affected software
pkg:github/siyuan-note/siyuanRun 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
Technical Analysis
CVE-2026-55570 is a critical vulnerability in SiYuan versions before 3.7.0 where untrusted input fields are serialized into a single-quoted HTML attribute using JSON.stringify(), which does not escape characters like single quotes or angle brackets. This allows an attacker to break out of the attribute context and inject arbitrary HTML. Because the desktop client runs with nodeIntegration enabled and contextIsolation disabled, this DOM-based XSS can escalate to arbitrary OS command execution. The issue is a variant of a previously patched vulnerability but affects a sibling sink not covered by the original fix. The vulnerability is resolved in SiYuan 3.7.0.
Potential Impact
Successful exploitation allows an attacker to inject arbitrary HTML and escalate from DOM-based cross-site scripting to arbitrary operating system command execution on the desktop client. This results in full compromise of the affected system's confidentiality, integrity, and availability.
Mitigation Recommendations
This vulnerability is fixed in SiYuan version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T23:11:20.214Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3c501e4853345fc1e45c5d
Added to database: 06/24/2026, 21:46:06 UTC
Last enriched: 06/24/2026, 22:01:38 UTC
Last updated: 06/24/2026, 23:56:28 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.