CVE-2026-100641Siyuan Note Siyuan cross-site scripting (XSS)
CVSS score
8.6
High
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.67%
0.67% chance of exploitation in the next 30 days, higher than 53.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
SiYuan before v3.8.4 does not HTML-escape stored flashcard block content before interpolating it into the card-manager list markup. Block content returned by /api/riff/getRiffCards is inserted into a card item template in app/src/card/viewCards.ts and assigned to listElement.innerHTML, so content such as <img src=invalid onerror=...> becomes an executable event-handler attribute. Because the SiYuan desktop (Electron) main window is created with nodeIntegration enabled and contextIsolation disabled, an administrator who opens the card manager on a workspace containing attacker-supplied flashcard content (for example introduced through contribution or import) executes the attacker's script in a privileged renderer, which can lead to arbitrary code execution on the host. The affected endpoint remains behind authentication and administrator-role checks; this is an untrusted-content-to-privileged-renderer issue, not an authorization bypass.
Source: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running siyuan-note Siyuan and compare its version with the affected versions.
Update to a fixed version
- Update Siyuan to 3.8.4 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/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
Affected products
| Affected products | Versions |
|---|---|
| siyuan-note Siyuan | < 3.8.4 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-100641 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-100641?
CVE-2026-100641 has a CVSS 4.0 base score of 8.6 (high).
Which versions are affected?
Siyuan Note Siyuan (< 3.8.4)
Is there a patch for CVE-2026-100641?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/siyuan-note/siyuan/commit/1ecb1c07de497ff03b585536fe5579291754d96b
- github.com/siyuan-note/siyuan/commit/41b14025b4ac4a8379d1200580344ca18ad152b7
- github.com/siyuan-note/siyuan/commit/48c354e7de130aaada9d7120125bbc768344fd3b
- github.com/siyuan-note/siyuan/commit/8641553a1f07374001902d3ce773285db1292b2d
- github.com/siyuan-note/siyuan/security/advisories/GHSA-2mmf-4xwm-55rm
- www.vulncheck.com/advisories/siyuan-before-3.8.4-stored-xss-via-unescaped-flashcard-content
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.