Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/siyuan-note/siyuan/kernel
  4. ›
  5. CVE-2026-40922

CVE-2026-40922: SiYuan has incomplete fix for CVE-2026-33066: XSS

April 14, 2026 (updated April 24, 2026)

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 →

Affected versions

All versions before 0.0.0-20260414013942-62eed37a3263

Fixed versions

  • 0.0.0-20260414013942-62eed37a3263

Solution

Upgrade to version 0.0.0-20260414013942-62eed37a3263 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/siyuan-note/siyuan/kernel/CVE-2026-40922.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:49 +0000.