← Back to search

CVE-2026-100641

8 HIGHpublic exploit available

Published 2026-09-26 · Updated 2026-09-26

AI risk analysis

Summary
SiYuan before v3.8.4 fails to properly HTML-escape stored flashcard content, leading to potential arbitrary code execution in the privileged renderer process.
Exploitability
Exploitation requires opening the card manager on a workspace containing attacker-supplied flashcard content. The attacker must have access to the workspace.
Blast radius
If exploited, this flaw could allow arbitrary code execution on the host, potentially leading to full system compromise.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to SiYuan v3.8.4 or later.
rcewebhtml-escaperendererarbitrary-code-execution

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-79

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.