Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2026-39846 β€” AI Deep Analysis Summary

CVSS 9.1 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Stored XSS via unsanitized table titles in SiYuan. πŸ’₯ **Consequences**: Leads to Remote Code Execution (RCE). Critical risk to data integrity and system control.

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: CWE-79 (Stored XSS). The flaw lies in **unsafe escaping** of table title content during storage. Malicious scripts persist in the database.

Q3Who is affected? (Versions/Components)

πŸ“¦ **Affected**: **SiYuan Note** (Privacy-first PKM). Specifically versions **prior to 3.6.4**. All users on older builds are at risk.

Q4What can hackers do? (Privileges/Data)

πŸ’€ **Attacker Capabilities**: Can execute arbitrary code remotely. Full access to **Confidentiality, Integrity, and Availability** (CVSS H/H/H). Can hijack user sessions.

Q5Is exploitation threshold high? (Auth/Config)

⚠️ **Exploitation**: **Low Threshold**. Requires **Low Complexity** and **User Interaction** (UI:R). Needs **Low Privileges** (PR:L) to inject, but impact is High (S:C).

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ” **Public Exploit**: **None listed** in current data (POCs: []). However, the severity suggests high potential for future wild exploitation. Stay vigilant.

Q7How to self-check? (Features/Scanning)

πŸ”Ž **Self-Check**: Scan for **Table Titles** containing script tags or HTML entities. Check if your SiYuan version is **< 3.6.4**. Look for unexpected JS execution in notes.

Q8Is it fixed officially? (Patch/Mitigation)

βœ… **Fix Status**: **Yes**. Official advisory available on GitHub (GHSA-phhp-9rm9-6gr2). Upgrade to **SiYuan 3.6.4 or later** immediately.

Q9What if no patch? (Workaround)

🚧 **No Patch Workaround**: If stuck, **disable table editing** or strictly sanitize input. Avoid clicking untrusted notes. Isolate the instance from the network.

Q10Is it urgent? (Priority Suggestion)

πŸ”₯ **Urgency**: **CRITICAL**. CVSS is High. RCE via Stored XSS is a top-tier threat. **Patch immediately** to prevent potential compromise.