All vulnerabilities

Go

CVE-2026-116169

SiYuan 2.10.0 before 3.8.7 Stored XSS via KaTeX \href in Math Blocks

Severity
Medium 5.1
Published
25 Oct 2026
Last changed
29 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
3.8.7
Exploit chance
0.2% in the next 30 daysHigher than 14% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to view a page or file
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Sources
CVE Program

Description

SiYuan from 2.10.0 before 3.8.7 contains a stored cross-site scripting vulnerability that allows users with edit permission to inject script by placing javascript: URLs in math block content rendered with KaTeX trust enabled. Attackers can store \href, \url, or \includegraphics payloads that mathRender assigns via innerHTML, executing script in the application origin when a reader clicks the rendered link.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/siyuan-note/siyuan/kernelGo · osv:Go:github.com/siyuan-note/siyuan/kernel
  • From 2.10.0 before 3.8.7

About github.com/siyuan-note/siyuan/kernel

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116169