What’s Vulnerable › Vulnerabilities
CVE-2026-116169: SiYuan 2.10.0 before 3.8.7 Stored XSS via KaTeX \href in Math Blocks
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-25 · updated 2026-10-29
- Weakness: CWE-79
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
- siyuan-note siyuan: from 2.10.0 before 3.8.7 — fixed in 3.8.7
How to fix
Upgrade to a fixed version: siyuan-note siyuan 3.8.7. Check the vendor advisory for mitigations.
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hhvq-jqv9-pgjq
- https://www.vulncheck.com/advisories/siyuan-2.10.0-before-3.8.7-stored-xss-via-katex-href-in-math-blocks
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hhvq-jqv9-pgjq
Get alerted when CVE-2026-116169 or the next vulnerability affects your stack