CVE-2026-54067: Vulnerability in github.com/siyuan-note/siyuan/kernel

Critical. SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, CSS snippet body containing </style> breaks out of its surrounding <style> tag when renderSnippet() interpolates it via insertAdjacentHTML. A payload like runs arbitrary JavaScript in the renderer. On Electron desktop builds the renderer runs with nodeIntegration:true, so require('child_process') is reachable from the injected handler...

Go, CWE-79, CWE-1188

Exploitation
None confirmed
Severity
9.9 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-mvjr-vv3c-w4qv
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-79, CWE-1188
Published
24 Jun 2026
Last change
25 Oct 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/siyuan-note/siyuan/kernel Go, Affected before 0.0.0-20260628153353-2d5d72223df4. Fixed in 0.0.0-20260628153353-2d5d72223df4

Advisories

Vendor and security advisories