CVE-2026-29183
MEDIUM 6.1CVSS 3.1SiYuan: Unauthenticated Reflected XSS via SVG Injection in /api/icon/getDynamicIcon Endpoint
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.
- Published
- 6 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-6865-qjcf-286fGO-2026-4596
- Sources
- NVDJSONOSV GHSA-6865-qjcf-286fJSONOSV GO-2026-4596JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | b3log | siyuancpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:* |
< 3.5.9 | 3.5.9 |
| OSV | Go | github.com/siyuan-note/siyuan/kernel | < 0.0.0-20260304034809-d68bd5a79391 | 0.0.0-20260304034809-d68bd5a79391 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-6865-qjcf-286f · Exploit, Vendor Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 6 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Mar 2026)