{"id":"CVE-2026-116169","title":"SiYuan 2.10.0 before 3.8.7 Stored XSS via KaTeX \\href in Math Blocks","summary":"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 c…","severity":"medium","cvss":5.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","cvssSource":"cna","cwe":["CWE-79"],"vendor":"siyuan-note","product":"siyuan","affected":["siyuan >= 2.10.0 < 3.8.7"],"published":"2026-10-25","updated":"2026-10-25","sourceUpdated":"2026-10-25T14:27:41.907Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-116169","references":[{"url":"https://github.com/siyuan-note/siyuan/security/advisories/GHSA-hhvq-jqv9-pgjq","label":"GitHub Security Advisory (GHSA-hhvq-jqv9-pgjq)"},{"url":"https://www.vulncheck.com/advisories/siyuan-2.10.0-before-3.8.7-stored-xss-via-katex-href-in-math-blocks","label":"VulnCheck Advisory: SiYuan 2.10.0 before 3.8.7 Stored XSS via KaTeX \\href in Math Blocks"}],"tags":["cve.org"],"ingestedAt":"2026-10-25T22:08:29.936Z","slug":"CVE-2026-116169","body":"## Overview\n\nSiYuan 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.\n\n## Affected\n\n- `siyuan >= 2.10.0 < 3.8.7`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":29.7,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}