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-33067: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan

0
Medium
VulnerabilityCVE-2026-33067cvecve-2026-33067cwe-79
Published: Fri Mar 20 2026 (03/20/2026, 08:14:53 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

CVE-2026-33067 is a cross-site scripting (XSS) vulnerability in SiYuan personal knowledge management system versions 3. 6. 0 and below. It arises from improper HTML escaping of package metadata fields, allowing malicious package authors to inject arbitrary HTML/JavaScript. Due to SiYuan's Electron configuration with nodeIntegration enabled and contextIsolation disabled, this XSS leads directly to remote code execution on the victim's OS without user interaction beyond opening the Bazaar page. The vulnerability is fixed in version 3. 6. 1. The CVSS 4. 0 score is 5.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/27/2026, 19:41:56 UTC

Technical Analysis

CVE-2026-33067 is a vulnerability classified as CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e., Cross-site Scripting) affecting SiYuan, a personal knowledge management system. Versions 3.6.0 and earlier improperly render package metadata fields such as displayName and description using JavaScript template literals without HTML escaping. This flaw allows a malicious package author to inject arbitrary HTML and JavaScript code into these fields. When any user navigates to the Bazaar page within SiYuan, the injected script executes automatically. Critically, SiYuan is built on Electron with nodeIntegration set to true and contextIsolation set to false, which means the injected script can access Node.js APIs and escalate the XSS to full remote code execution (RCE) on the victim's operating system. This RCE occurs without any user interaction beyond opening the marketplace tab, making exploitation straightforward once a malicious package is published. The vulnerability was publicly disclosed on March 20, 2026, and fixed in version 3.6.1. The CVSS 4.0 base score is 5.3, indicating medium severity, with an attack vector of network, low complexity, no privileges required (though the vector indicates PR:L, meaning some privileges are needed), no user interaction, and limited scope impact. No known exploits in the wild have been reported to date.

Potential Impact

The impact of this vulnerability is significant for organizations and individuals using SiYuan versions prior to 3.6.1. Because the vulnerability allows remote code execution on the victim's machine without user interaction, attackers can fully compromise affected systems. This includes the ability to execute arbitrary commands, install malware, exfiltrate data, or pivot within internal networks. The attack surface includes any user who accesses the Bazaar page, making it easy for attackers to target multiple users by publishing malicious packages. The compromise of personal knowledge management systems can lead to leakage of sensitive intellectual property, personal data, or credentials stored within or accessible from the application. Given the Electron environment, the attacker gains OS-level access, which can severely impact confidentiality, integrity, and availability of affected systems. Although no exploits are known in the wild yet, the ease of exploitation and severity of impact make this a critical risk for affected users.

Mitigation Recommendations

To mitigate this vulnerability, organizations and users should immediately upgrade SiYuan to version 3.6.1 or later, where the issue is fixed by proper HTML escaping of package metadata fields. Until upgrading, users should avoid browsing or installing packages from untrusted or unknown sources in the Bazaar marketplace. Administrators can consider disabling or restricting access to the Bazaar page to reduce exposure. Additionally, running SiYuan in a hardened Electron environment by disabling nodeIntegration and enabling contextIsolation can prevent escalation of XSS to RCE. Employing endpoint protection solutions that detect anomalous script execution or suspicious process behavior may help detect exploitation attempts. Regularly monitoring for updates and advisories from the SiYuan project is essential. Finally, educating users about the risks of installing unverified packages can reduce the likelihood of successful attacks.

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-03-17T19:27:06.343Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69bd945ce32a4fbe5fbc7f80

Added to database: 3/20/2026, 6:39:24 PM

Last enriched: 3/27/2026, 7:41:56 PM

Last updated: 5/2/2026, 2:02:44 PM

Views: 71

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