Skip to content
Medium 5.4

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

CVE-2026-116169 First seen on SecPulse

Affected packages

PackageAffected → Fixed
siyuan-notesiyuan
≥ 2.10.0, < 3.8.7→ 3.8.7
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details