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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.5.9 (CNA); fix release not confirmed
- Status: published
- Published: 2026-03-06 · Modified: 2026-03-06
- Aliases: GHSA-6865-qjcf-286f, GO-2026-4596
- Record: https://cvemate.com/vulnerability/CVE-2026-29183 · JSON: https://cvemate.com/vulnerability/CVE-2026-29183/json

## Description

```text
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.
```

## Signals

- CVSS: 9.3 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
- EPSS: 0.691%, percentile 54.225%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

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

## References

- <https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6865-qjcf-286f>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29183>
- <https://github.com/siyuan-note/siyuan/commit/d68bd5a79391742b3cb2e14d892bdd9997064927>
- <https://github.com/siyuan-note/siyuan>

---

Data as of 2026-12-05T08:38:19.714Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
