# CVE-2026-29183: SiYuan: Unauthenticated reflected SVG XSS in `/api/icon/getDynamicIcon` (`type=8`) enables arbitrary JavaScript execution

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A: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.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-04T21:45:10.000Z
- Modified: 2026-06-17T10:29:44.220Z
- Also known as: GHSA-6865-qjcf-286f, GO-2026-4596
- Related: CVE-2026-32940
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

SiYuan is a personal knowledge management system. Prior to version 3.5.9, an unauthenticated reflected XSS vulnerability exists in the dynamic icon API endpoint "GET /api/icon/getDynamicIcon" when type=8, attacker-controlled content is embedded into SVG output without escaping. Because the endpoint is unauthenticated and returns image/svg+xml, a crafted URL can inject executable SVG/HTML event handlers (for example onerror) and run JavaScript in the SiYuan web origin. This can be chained to perform authenticated API actions and exfiltrate sensitive data when a logged-in user opens the malicious link. This issue has been patched in version 3.5.9.

(As written by CVE List.)

## Affected

- siyuan-note siyuan: < 3.5.9
- github.com/siyuan-note/siyuan/kernel (Go): before 0.0.0-20260304034809-d68bd5a79391
- b3log siyuan: before 3.5.9

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6865-qjcf-286f> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29183> (advisory)
- <https://github.com/siyuan-note/siyuan/commit/d68bd5a79391742b3cb2e14d892bdd9997064927> (web)
- <https://github.com/siyuan-note/siyuan> (package)

## Sources

- CVE List: [CVE-2026-29183](https://www.cve.org/CVERecord?id=CVE-2026-29183), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-6865-qjcf-286f](https://github.com/advisories/GHSA-6865-qjcf-286f), CC-BY-4.0, modified 2026-04-02
- Go Vulnerability Database: [GO-2026-4596](https://pkg.go.dev/vuln/GO-2026-4596), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-29183](https://nvd.nist.gov/vuln/detail/CVE-2026-29183), Public domain, modified 2026-06-17

---

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