Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33067

CVE-2026-33067: B3log Siyuan RCE Vulnerability

CVE-2026-33067 is a remote code execution flaw in B3log Siyuan that allows attackers to execute arbitrary code through malicious marketplace packages. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-33067 Overview

SiYuan is a personal knowledge management system that has been found vulnerable to a Cross-Site Scripting (XSS) vulnerability that escalates to Remote Code Execution (RCE). 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.

Critical Impact

This vulnerability allows attackers to achieve full Remote Code Execution on a victim's machine through a stored XSS attack in the Bazaar marketplace, requiring no user interaction beyond viewing the page.

Affected Products

  • B3log SiYuan versions 3.6.0 and below
  • SiYuan Desktop Application (Electron-based)
  • SiYuan Bazaar Marketplace Component

Discovery Timeline

  • 2026-03-20 - CVE-2026-33067 published to NVD
  • 2026-03-23 - Last updated in NVD database

Technical Details for CVE-2026-33067

Vulnerability Analysis

This vulnerability represents a dangerous combination of improper input validation (CWE-79) and insecure Electron application configuration. The root issue lies in how SiYuan processes and renders package metadata within the Bazaar marketplace interface. When users browse available packages, the application dynamically renders metadata fields including displayName and description using JavaScript template literals without proper HTML sanitization or encoding.

The severity of this XSS vulnerability is dramatically amplified by SiYuan's Electron security configuration. The application runs with nodeIntegration: true and contextIsolation: false, which means JavaScript executing in the renderer process has direct access to Node.js APIs. This architectural decision transforms what would typically be a client-side XSS vulnerability into a full system compromise vector.

Root Cause

The vulnerability stems from two primary security failures:

  1. Lack of HTML Escaping: The Bazaar component renders user-controlled package metadata fields (displayName, description) directly into the DOM using template literals without any HTML entity encoding or sanitization. This allows malicious HTML and JavaScript to be injected and executed in the context of the application.

  2. Insecure Electron Configuration: The application's Electron configuration enables nodeIntegration: true while disabling contextIsolation. This configuration grants renderer-process JavaScript full access to Node.js APIs, including file system operations, process spawning, and network access.

Attack Vector

The attack vector is network-based and requires low privileges (a malicious actor only needs the ability to publish a package to the Bazaar marketplace). The attack unfolds as follows:

  1. An attacker creates a malicious SiYuan package with specially crafted metadata containing JavaScript payloads in the displayName or description fields
  2. The malicious package is uploaded to the SiYuan Bazaar marketplace
  3. When any user opens the Bazaar tab in their SiYuan application, the marketplace page renders and the malicious JavaScript executes automatically
  4. Due to the Electron misconfiguration, the injected script gains access to Node.js APIs
  5. The attacker's payload can then execute arbitrary system commands, read/write files, exfiltrate data, or install persistent malware

The attack requires no user interaction beyond navigating to the Bazaar page, making it particularly dangerous for supply chain attacks against SiYuan users.

Detection Methods for CVE-2026-33067

Indicators of Compromise

  • Unusual JavaScript execution patterns in SiYuan's renderer process
  • Unexpected child processes spawned by the SiYuan application
  • Network connections originating from SiYuan to unknown external endpoints
  • Suspicious file system activity in user directories initiated by SiYuan
  • Package metadata in the Bazaar containing encoded JavaScript, script tags, or event handlers

Detection Strategies

  • Monitor for SiYuan spawning unexpected child processes or shell commands
  • Implement network monitoring for outbound connections from the SiYuan application to suspicious domains
  • Review installed Bazaar packages for unusual metadata content containing HTML tags or JavaScript
  • Enable endpoint detection and response (EDR) monitoring for Electron application anomalies
  • Audit SiYuan application logs for rendering errors or JavaScript exceptions

Monitoring Recommendations

  • Deploy SentinelOne to monitor for process injection and suspicious child process creation from Electron applications
  • Configure network traffic analysis to flag unusual data exfiltration patterns from desktop applications
  • Enable file integrity monitoring for directories commonly targeted by malware persistence mechanisms
  • Monitor for registry or startup modifications that could indicate post-exploitation persistence

How to Mitigate CVE-2026-33067

Immediate Actions Required

  • Upgrade SiYuan to version 3.6.1 or later immediately
  • Review any packages installed from the Bazaar marketplace for suspicious content
  • If unable to upgrade immediately, avoid accessing the Bazaar marketplace tab
  • Consider temporarily running SiYuan in an isolated environment or virtual machine
  • Audit system for signs of compromise if the Bazaar page was accessed while running a vulnerable version

Patch Information

B3log has addressed this vulnerability in SiYuan version 3.6.1. The fix implements proper HTML escaping for package metadata fields before rendering, preventing the injection of arbitrary HTML and JavaScript content. Users should update to version 3.6.1 or later through the official SiYuan release channels. For detailed information, refer to the GitHub Security Advisory.

Workarounds

  • Avoid opening the Bazaar marketplace tab until the application is upgraded to version 3.6.1
  • Disable network access for SiYuan to prevent loading potentially malicious package metadata
  • If using an older version is required, run SiYuan in an isolated environment such as a virtual machine
  • Review and audit all previously installed Bazaar packages for suspicious content
bash
# Verify SiYuan version
# Navigate to Help > About in SiYuan
# Ensure version is 3.6.1 or higher

# To update SiYuan, download the latest release from:
# https://github.com/siyuan-note/siyuan/releases

# For added security, consider running in isolation:
# Use sandboxing tools or virtual machines when accessing untrusted content

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechB3log Siyuan

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40922: B3log Siyuan RCE Vulnerability

  • CVE-2026-33066: B3log Siyuan RCE Vulnerability

  • CVE-2024-55660: B3log Siyuan RCE Vulnerability

  • CVE-2026-33476: B3log Siyuan Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English