Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
UnratedPublic exploit

RCE in SiYuan Bazaar via XSS in Package Metadata and README

IdentifiersCVE-2026-56395CWE-79

CVE-2026-56395 is a critical vulnerability in SiYuan before version 3.6.1 affecting the Bazaar marketplace. SiYuan fails to properly sanitize package metadata and README content rendered in Bazaar listings, specifically fields such as displayName, description, and README. A malicious package author can embed arbitrary HTML and JavaScript into those fields. When another user browses the Bazaar marketplace, the injected script executes in the Electron application context. Because the attack can leverage Electron's nodeIntegration setting, the XSS condition can be escalated from script execution in the UI to operating system command execution, resulting in remote code execution on the client system.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a malicious Bazaar package author to compromise users who browse the Bazaar marketplace. The attacker can achieve arbitrary HTML/JavaScript execution in the victim's SiYuan client and, by abusing Electron nodeIntegration, escalate this to execution of OS commands. This can result in full remote code execution in the context of the victim user, with corresponding confidentiality, integrity, and availability impact on the affected host.

Mitigation

If you can’t patch tonight, do this now.

Until upgrades are completed, avoid browsing or installing packages from untrusted Bazaar authors or sources. Treat Bazaar package metadata and README content as untrusted content, and review package listings cautiously. Reducing or disabling risky Electron capabilities such as nodeIntegration for untrusted rendered content would also reduce exposure, but specific vendor-supported hardening guidance beyond upgrading is not provided in the available content.

Remediation

Patch, then assume compromise.

Upgrade SiYuan to version 3.6.1 or later, which is the referenced fixed version. Ensure Bazaar-rendered package metadata and README content are sanitized and not rendered in a way that permits active HTML/JavaScript execution. If managing deployments centrally, prioritize patching all SiYuan clients earlier than 3.6.1.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.