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
References (4)
- security-advisories@githubhttps://github.com/advisories/GHSA-6865-qjcf-286f
- security-advisories@githubhttps://github.com/siyuan-note/siyuan/commit/d01d561875d4f744e9f6232f1d4831e3642b8696
- security-advisories@githubhttps://github.com/siyuan-note/siyuan/releases/tag/v3.6.1
- security-advisories@githubhttps://github.com/siyuan-note/siyuan/security/advisories/GHSA-4mx9-3c2h-hwhg
Patch 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.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 6× 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-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
Related CVEs(same product + same CWE)
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
Explore the affected products and dependency analysis for 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.