CVE-2026-34605
Description
SiYuan is a personal knowledge management system. From version 3.6.0 to before version 3.6.2, the SanitizeSVG function introduced in version 3.6.0 to fix XSS in the unauthenticated /api/icon/getDynamicIcon endpoint can be bypassed by using namespace-prefixed element names such as <x:script xmlns:x="http://www.w3.org/2000/svg">. The Go HTML5 parser records the element's tag as "x:script" rather than "script", so the tag check passes it through. The SVG is served with Content-Type: image/svg+xml and no Content Security Policy; when a browser opens the response directly, its XML parser resolves the prefix to the SVG namespace and executes the embedded script. This issue has been patched in version 3.6.2.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-04-01 |
Timeline
- 2026-03-31Published by the CNA21:50 UTC
- 2026-04-01GitHub advisory published (GHSA-73g7-86qr-jrg3)1 day after publication
- 2026-04-01CISA SSVC decision recorded1 day after publication
Exploit and advisory records
Nuclei templates:
- CVE-2026-34605: SiYuan Note - Cross-Site Scripting
GitHub advisory GHSA-73g7-86qr-jrg3, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/siyuan-note/siyuan/kernel | before 0.0.0-20260330031106-f09953afc57a | 0.0.0-20260330031106-f09953afc57a |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| b3log siyuan | from 3.6.0 before 3.6.2fixed in 3.6.2 | 3.6.2 |
References
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3
- https://github.com/siyuan-note/siyuan/issues/17246
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-34605'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-34605'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-34605'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-34605'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).