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

Critical. SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, the attribute-view (database) cell renderer genAVValueHTML interpolates cell content raw in four of its branches: text, url, phone, and mAsset. A cell value like </textarea><img src=x onerror="..."> or "><img src=x onerror="..."> breaks out of its surrounding tag and runs arbitrary JavaScript in the renderer when the victim opens the...

Go, CWE-79, CWE-1188

Exploitation
None confirmed
Severity
9.9 of 10
Attack likelihood
0.4 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-5xfx-xj4h-5p7r
EU ID
EUVD-2026-39127
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
Likelihood rank
Higher than 40 % of all rated vulnerabilities
Analysis status
Deferred
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