# CVE-2026-66394: SiYuan before v3.7.3 Stored and Reflected XSS via SVG Sanitizer Bypass

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-27T15:43:45.397Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-99rq-75j6-5j9f, GO-2026-6364
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

SiYuan before v3.7.3 contains stored and reflected cross-site scripting vulnerabilities in SVG sanitization that allows authenticated attackers to execute scripts by bypassing the HTML parser-based cleaner. Attackers can hide script tags within desc, style, or noscript elements which the HTML parser treats as raw text but browsers interpret as executable SVG content when served as image/svg+xml, enabling script execution in the application origin.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: before 3.7.3 (not affected: 3.7.3)
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260714095344-f08dee71ba8e

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- VulnCheck: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-99rq-75j6-5j9f> (exploit, advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/siyuan-before-stored-and-reflected-xss-via-svg-sanitizer-bypass> (third-party-advisory)
- <https://github.com/siyuan-note/siyuan/commit/f08dee71ba8e087a395d74f121de11e6a997ef14> (web)
- <https://github.com/siyuan-note/siyuan> (package)
- <https://github.com/siyuan-note/siyuan/releases/tag/v3.7.3> (web)

## Sources

- CVE List: [CVE-2026-66394](https://www.cve.org/CVERecord?id=CVE-2026-66394), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-99rq-75j6-5j9f](https://github.com/advisories/GHSA-99rq-75j6-5j9f), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-6364](https://pkg.go.dev/vuln/GO-2026-6364), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-66394](https://nvd.nist.gov/vuln/detail/CVE-2026-66394), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-66394 · Whole record: https://cve.day/CVE-2026-66394.json · Rebuilt by cve.day 2026-11-25T22:59:30.212Z
