CVE-2026-40922: SiYuan has incomplete fix for CVE-2026-33066: XSS
(updated )
The incomplete fix for SiYuan’s bazaar README rendering enables the Lute HTML sanitizer but fails to block <iframe> tags, allowing stored XSS via srcdoc attributes containing embedded scripts that execute in the Electron context.
References
- github.com/advisories/GHSA-4663-4mpg-879v
- github.com/advisories/GHSA-8q5w-mmxf-48jg
- github.com/siyuan-note/siyuan
- github.com/siyuan-note/siyuan/commit/b382f50e1880ed996364509de5a10a72d7409428
- github.com/siyuan-note/siyuan/releases/tag/v3.6.4
- github.com/siyuan-note/siyuan/security/advisories/GHSA-8q5w-mmxf-48jg
- nvd.nist.gov/vuln/detail/CVE-2026-33066
- nvd.nist.gov/vuln/detail/CVE-2026-40922
Code Behaviors & Features
Detect and mitigate CVE-2026-40922 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →