Cyber Resilience

CVE-2026-34449

B3Log Siyuan ≤ 3.6.2

Public PoC
Published
31 March 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 9.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0050 40th percentile
Risk Priority 68 floored blend · peak EPSS

Summary

CVE-2026-34449 is a critical-severity Permissive Cross-domain Security Policy with Untrusted Domains (CWE-942) vulnerability in B3Log Siyuan. Its CVSS base score is 9.6 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Drive-by Compromise (T1189); ranked at the 40th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and SC-7 (Boundary Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-34449 is a high-severity remote code execution (RCE) vulnerability affecting SiYuan, an open-source personal knowledge management system built on Electron. In versions prior to 3.6.2, the application exposes a permissive CORS policy (Access-Control-Allow-Origin: * and Access-Control-Allow-Private-Network: true) on its API endpoints. This allows a malicious website to inject arbitrary JavaScript snippets, which persist and execute in Electron's Node.js runtime context—the next time the user interacts with SiYuan's UI—granting attackers full operating system access on the victim's desktop. The vulnerability is tracked under CWE-942 (Permissive Cross-domain Policy with Untrusted Domains) and carries a CVSS v3.1 base score of 9.6 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H).

Any remote attacker controlling a malicious website can exploit this vulnerability without authentication or privileges. The attack requires the victim to visit the attacker's site while SiYuan is running in the background; no additional user interaction is needed beyond that. Upon subsequent opening of SiYuan's UI, the injected JavaScript executes seamlessly in the Node.js context, enabling full RCE. This could allow attackers to steal data, install malware, or perform other arbitrary actions with the privileges of the SiYuan process, typically those of the logged-in user.

The issue has been fully patched in SiYuan version 3.6.2, as detailed in the project's GitHub release notes and security advisory (GHSA-68p4-j234-43mv). Security practitioners should advise users to update immediately to mitigate risk, with further technical details available in the associated GitHub issue (#17246).

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

SiYuan is a personal knowledge management system. Prior to version 3.6.2, a malicious website can achieve Remote Code Execution (RCE) on any desktop running SiYuan by exploiting the permissive CORS policy (Access-Control-Allow-Origin: * + Access-Control-Allow-Private-Network: true) to inject a JavaScript…

more

snippet via the API. The injected snippet executes in Electron's Node.js context with full OS access the next time the user opens SiYuan's UI. No user interaction is required beyond visiting the malicious website while SiYuan is running. This issue has been patched in version 3.6.2.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1557 Adversary-in-the-Middle Credential Access
Adversaries may attempt to position themselves between two or more networked devices using an adversary-in-the-middle (AiTM) technique to support follow-on behaviors such as [Network Sniffing](https://attack.
T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-6938Same product: B3Log Siyuan
CVE-2026-32940Same product: B3Log Siyuan
CVE-2026-29183Same product: B3Log Siyuan
CVE-2026-40922Same product: B3Log Siyuan
CVE-2026-34605Same product: B3Log Siyuan
CVE-2024-2692Same product: B3Log Siyuan
CVE-2026-33066Same product: B3Log Siyuan
CVE-2024-55659Same product: B3Log Siyuan
CVE-2026-32751Same product: B3Log Siyuan
CVE-2026-33067Same product: B3Log Siyuan

Affected Assets

b3log
siyuan
≤ 3.6.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V3.4.3
  • V3.4.6
  • V3.5.2

Mitigating Controls (NIST 800-53 r5) AI

Information flow enforcement requires approved authorizations and would reject policies permitting untrusted domains.

Boundary protection at external interfaces stops unauthorized cross-domain communication allowed by permissive policies.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-01 mostly match
prevents

Hardened configuration baselines and reviews directly prevent permissive CSP or cross-domain policies.

PR.PS-06 mostly match
prevents

Secure SDLC activities include review and testing of web security policies to avoid untrusted domains.

ID.RA-01 partial match
prevents

Vulnerability identification processes can surface permissive policy misconfigurations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect overly permissive cross-domain policies but does not prevent their initial introduction.

degrades

Network security policies can restrict cross-domain communication but do not specifically mandate strict CSP or cross-domain policy configuration.

degrades

Security of network services includes defining allowed endpoints, which can limit untrusted domains but does not directly address web-client policy files.

degrades

Web filtering can block untrusted domains at the network level, partially mitigating permissive cross-domain policies.

prevents

Application security requirements should specify secure CSP and cross-domain policy settings, directly addressing the weakness.

prevents

Secure architecture principles include defining trust boundaries, which can reduce permissive cross-domain allowances.

References