Skip to content
CVE PROGRAM SOURCE RECORD5.1 Medium

CVE-2026-116169

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

siyuan-note siyuan

Default version status: unaffected

  • 2.10.0 to < 3.8.7affected
  • 3.8.7unaffected
pkg:golang/github.com/siyuan-note/siyuan/kernel

References