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

SiYuan is a personal knowledge management system. Versions 3.6.0 and below render package metadata fields (displayName, description) using template literals without HTML escaping. A malicious package author can inject arbitrary HTML/JavaScript into these fields, which executes automatically when any user browses the Bazaar page. Because SiYuan's Electron configuration enables nodeIntegration: true with contextIsolation: false, this XSS escalates directly to full Remote Code Execution on the victim's operating system — with zero user interaction beyond opening the marketplace tab. This issue has been fixed in version 3.6.1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/20/2026, 18:54:19 UTC

Technical Analysis

SiYuan is a personal knowledge management application built on Electron. Versions up to 3.6.0 render package metadata fields such as displayName and description using JavaScript template literals without applying HTML escaping or sanitization. This improper neutralization of input (CWE-79) allows a malicious package author to craft metadata containing arbitrary HTML or JavaScript code. When a user opens the Bazaar page to browse packages, the injected script executes automatically. Critically, SiYuan's Electron environment is configured with nodeIntegration set to true and contextIsolation set to false, which removes typical sandbox protections and allows the injected script to access Node.js APIs. This configuration enables the XSS to escalate directly to full remote code execution on the victim's operating system. The attack requires no user interaction beyond opening the Bazaar tab, making it highly dangerous. The vulnerability was assigned CVE-2026-33067 and fixed in version 3.6.1 by properly escaping or sanitizing metadata fields before rendering. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and low scope impact, resulting in a medium severity rating. No public exploits have been reported yet.

Potential Impact

This vulnerability allows attackers to execute arbitrary code on the victim's machine by injecting malicious scripts into package metadata. Since SiYuan runs on Electron with nodeIntegration enabled and contextIsolation disabled, the attacker gains full access to the underlying operating system, potentially leading to complete system compromise. The attack requires only that the victim open the Bazaar marketplace tab, which is a common user action, increasing the risk of exploitation. Organizations using SiYuan for knowledge management could face data theft, unauthorized system access, malware deployment, or lateral movement within networks. The impact extends beyond confidentiality to integrity and availability, as attackers can manipulate or destroy data and disrupt operations. Although no known exploits are reported, the ease of exploitation and severity of consequences make this a significant threat for users of affected versions.

Mitigation Recommendations

Upgrade SiYuan to version 3.6.1 or later, where the vulnerability is fixed by proper HTML escaping of package metadata fields. Until upgrading, users should avoid opening the Bazaar marketplace tab or installing packages from untrusted sources. Electron applications should be configured with nodeIntegration disabled and contextIsolation enabled to reduce the risk of similar vulnerabilities escalating to remote code execution. Developers should implement strict input validation and output encoding for all user-controllable data rendered in the UI. Network-level controls such as restricting access to the Bazaar marketplace or sandboxing the application environment can provide additional defense layers. Monitoring for unusual process behavior or network activity originating from SiYuan may help detect exploitation attempts.

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/20/2026, 6:54:19 PM

Last updated: 3/20/2026, 10:47:30 PM

Views: 8

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