Lute is a structured Markdown engine supporting Go and JavaScript. Lute 1.7.6 and earlier (as used in SiYuan before) has a Stored Cross-Site Scripting (XSS) vulnerability in the Markdown rendering engine. An attacker can inject malicious JavaScript into a Markdown text/note. When another user clicks the rendered content, the script executes in the context of their session.
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-rw25-98wq-76qv
https://github.com/88250/lute/commit/0118e218916cf0cc7df639b50ce74e0c6c3d1868