SiYuan is a personal knowledge management system. In versions 3.6.0 and below, SanitizeSVG has an incomplete blocklist — it blocks data:text/html and data:image/svg+xml in href attributes but misses data:text/xml and data:application/xml, both of which can render SVG with JavaScript execution. The unauthenticated /api/icon/getDynamicIcon endpoint serves user-controlled input (via the content parameter) directly into SVG markup using fmt.Sprintf with no escaping, served as Content-Type: image/svg+xml. This creates a click-through XSS: a victim navigates to a crafted URL, sees an SVG with an injected link, and clicking it triggers JavaScript via the bypassed MIME types. The attack requires direct navigation to the endpoint or / embedding, since tag rendering in the frontend doesn't allow interactive links. This issue has been fixed in version 3.6.1.
CVE-2026-32940
Score 9.3 from GitHub Security Advisory (severity: CRITICAL) published 2026-03-17. NVD baseline CVSS 6.1; sources differ by 3.2.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 9.3(medium)
- EG Risk
- 46(Track)EG Risk 46/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity93% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 23%
- KEV
- Not listed
Published
March 20, 2026
Last Modified
June 17, 2026
Advisory Details (4)
Auto-updated Aug 6, 2026SanitizeSVG bypass via data:text/xml in getDynamicIcon (incomplete fix for CVE-2026-29183) · Advisory · siyuan-note/siyuan · GitHub
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mx9-3c2h-hwhgImprove details
Patch available: siyuan-note/siyuan v3.6.1
https://github.com/siyuan-note/siyuan/releases/tag/v3.6.1commit d01d561875d4 (siyuan-note/siyuan)
Fix landed in siyuan-note/siyuan commit d01d561875d4 — awaiting tagged release
https://github.com/siyuan-note/siyuan/commit/d01d561875d4f744e9f6232f1d4831e3642b8696SiYuan: Unauthenticated Reflected XSS via SVG Injection in /api/icon/getDynamicIcon Endpoint · CVE-2026-29183 · GitHub Advisory Database · GitHub
https://github.com/advisories/GHSA-6865-qjcf-286fPatch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| go | github.com/siyuan-note/siyuan | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/siyuan-note/siyuan | — | — | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 30× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-17 19:30 UTCEPSS rescore
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-13 16:47 UTCEPSS rescore
- 2026-09-12 15:01 UTCEPSS rescore
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-02 17:08 UTCOSV refresh
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
Show 73 moreShow fewer
- 2026-08-24 14:17 UTCEPSS rescore
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 11:04 UTCEG score recompute
- 2026-08-16 11:04 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-15 00:00 UTCGHSA enrichment
- 2026-08-14 19:50 UTCGHSA enrichment
- 2026-08-14 15:36 UTCGHSA enrichment
- 2026-08-14 11:25 UTCGHSA enrichment
- 2026-08-14 07:15 UTCEG score recompute
- 2026-08-14 07:15 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 02:06 UTCGHSA enrichment
- 2026-08-12 21:56 UTCEG score recompute
- 2026-08-12 21:56 UTCGHSA enrichment
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-12 01:34 UTCGHSA enrichment
- 2026-08-11 21:24 UTCEG score recompute
- 2026-08-11 21:24 UTCGHSA enrichment
- 2026-08-11 08:37 UTCGHSA enrichment
- 2026-08-11 04:26 UTCEG score recompute
- 2026-08-11 04:26 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 12:14 UTCGHSA enrichment
- 2026-08-10 06:26 UTCGHSA enrichment
- 2026-08-10 02:03 UTCGHSA enrichment
- 2026-08-09 21:44 UTCGHSA enrichment
- 2026-08-09 17:33 UTCEG score recompute
- 2026-08-09 17:33 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-09 13:21 UTCGHSA enrichment
- 2026-08-09 06:48 UTCEG score recompute
- 2026-08-09 06:48 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-08 09:58 UTCGHSA enrichment
- 2026-08-08 05:48 UTCGHSA enrichment
- 2026-08-08 01:38 UTCGHSA enrichment
- 2026-08-07 21:28 UTCGHSA enrichment
- 2026-08-07 17:18 UTCEG score recompute
- 2026-08-07 17:18 UTCGHSA enrichment
- 2026-08-06 19:22 UTCEG score recompute
- 2026-08-06 19:22 UTCGHSA enrichment
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-06 10:28 UTCGHSA enrichment
- 2026-08-06 05:39 UTCGHSA enrichment
- 2026-08-06 01:29 UTCEG score recompute
- 2026-08-06 01:29 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:38 UTCEPSS rescore
- 2026-08-04 04:49 UTCGHSA enrichment
- 2026-08-04 00:37 UTCEG score recompute
- 2026-08-04 00:37 UTCGHSA enrichment
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-03 00:58 UTCGHSA enrichment
- 2026-08-02 20:25 UTCGHSA enrichment
- 2026-08-02 16:15 UTCEG score recompute
- 2026-08-02 16:15 UTCGHSA enrichment
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-27 14:35 UTCEG score recompute
- 2026-07-27 14:35 UTCGHSA enrichment
- 2026-07-27 14:27 UTCOSV refresh
Frequently asked(5)
What is CVE-2026-32940?
When was CVE-2026-32940 disclosed?
Is CVE-2026-32940 actively exploited?
What is the CVSS score of CVE-2026-32940?
How do I remediate CVE-2026-32940?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-32940
Is Your Infrastructure Affected by CVE-2026-32940?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.