CVE-2026-100641
Last modified
CVE-2026-100641 is a high-severity vulnerability rated 8/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-100641?
How severe is CVE-2026-100641?
How do I fix CVE-2026-100641?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-100636SiYuan versions before v3.8.4 contain a path traversal vulne…7.6
- CVE-2026-100637SiYuan versions before v3.8.4 contain a path traversal vulne…7.6
- CVE-2026-100638SiYuan versions before v3.8.4 contain a path traversal vulne…7.6
- CVE-2026-100639SiYuan v3.8.3 fails to HTML-escape the data-subtype attribut…8.8
- CVE-2026-10064A security flaw has been discovered in TRENDnet TEW-432BRP 3…9.8
- CVE-2026-100640SiYuan before v3.8.4 contains an authorization omission in t…4.7
- CVE-2026-100642SiYuan versions from v2.1.0 before v3.8.4 contain a cross-si…7.6
- CVE-2026-100643SiYuan versions before v3.8.4 fail to properly escape four s…8
- CVE-2026-100644SiYuan before v3.8.4 contains a SQL injection vulnerability …7.5
- CVE-2026-100645SiYuan versions 3.7.0 before 3.8.4 contain a stored cross-si…8
- CVE-2026-100646SiYuan is a self-hosted personal knowledge management system…8.1
- CVE-2026-100647vLLM versions before 0.29.0 contain a denial-of-service vuln…5.3
Are you affected by CVE-2026-100641?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
