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

Remote Code Execution in SiYuan via permissive CORS and API JavaScript injection

IdentifiersCVE-2026-34449CWE-942· Permissive Cross-domain Security…

CVE-2026-34449 affects SiYuan desktop versions prior to 3.6.2. The vulnerability is caused by an overly permissive cross-origin configuration that exposes the local application API to arbitrary websites by returning Access-Control-Allow-Origin: * together with Access-Control-Allow-Private-Network: true. A malicious website visited while SiYuan is running can send cross-origin requests to the local SiYuan API and inject a JavaScript snippet. That injected code is later executed when the user opens the SiYuan UI, and because the UI runs in Electron with Node.js context available, the attacker-controlled JavaScript executes with full operating system access. This results in remote code execution on the host running SiYuan.

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 arbitrary code execution on the victim desktop with the privileges of the SiYuan application user. Because the injected JavaScript executes in Electron's Node.js context, the attacker can obtain full OS-level access available to that user, including reading and modifying local files, executing system commands, stealing application data, and potentially establishing persistence or performing follow-on actions on the host.

Mitigation

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

If immediate patching is not possible, reduce exposure by avoiding use of vulnerable SiYuan desktop versions while browsing untrusted websites, restricting access from browsers to local application interfaces, and limiting or disabling any unnecessary local API exposure. Network and host controls that prevent arbitrary websites from reaching localhost or private-network services may reduce exploitability, but the authoritative fix is to upgrade to 3.6.2 or later.

Remediation

Patch, then assume compromise.

Upgrade SiYuan to version 3.6.2 or later. The issue is reported as patched in version 3.6.2. Applying the vendor fix is the primary remediation.
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.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
B3logSiyuanapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

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 activity8

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