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…
EPSS 0.3%top 75%

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

0
Critical
VulnerabilityCVE-2026-55570cvecve-2026-55570cwe-79cwe-94cwe-116
Published: 06/24/2026 (06/24/2026, 21:24:21 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, it does not escape the untrusted fields (name, version, author, description) when they are serialized into the data-obj HTML attribute of each marketplace card. Because the attribute is single-quoted and the value is produced with JSON.stringify() (which does not escape ', <, or >), a package whose name contains a single quote breaks out of the attribute and injects arbitrary HTML. In the desktop client the main BrowserWindow runs with nodeIntegration: true, contextIsolation: false, so the injected markup escalates from DOM XSS to arbitrary OS command execution. This is the same root cause and same impact as the original advisory, reached through a sibling sink the patch did not cover. This vulnerability is fixed in 3.7.0.

CVSS v3.1

Score 9.0critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Affected software

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

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: 07/01/2026, 22:42:08 UTC

Technical Analysis

CVE-2026-55570 describes a critical improper neutralization of input vulnerability (CWE-79) in SiYuan versions before 3.7.0. The vulnerability occurs because untrusted metadata fields are serialized into a single-quoted HTML attribute without escaping characters like single quotes, less-than, or greater-than signs. This allows a malicious package name containing a single quote to break out of the attribute context and inject arbitrary HTML. Due to the desktop client's configuration (nodeIntegration: true, contextIsolation: false), this DOM-based XSS can escalate to arbitrary OS command execution. The issue shares the same root cause and impact as a previous advisory but affects a sibling sink that was not covered by the prior patch. 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 victim's machine running the SiYuan desktop client. This leads to full compromise of the affected system. The vulnerability has a CVSS 3.1 score of 9.0 (critical), reflecting its high impact on 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 or temporary workaround is indicated in the available data.

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
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: 07/01/2026, 22:42:08 UTC

Last updated: 08/08/2026, 12:41:11 UTC

Views: 125

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