CVE-2026-34605
Last modified
CVE-2026-34605 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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">. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| B3log | Siyuan | >= 3.6.0, < 3.6.2 |
References
- https://github.com/siyuan-note/siyuan/issues/17246Issue Tracking
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34605?
How severe is CVE-2026-34605?
How do I fix CVE-2026-34605?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-3460The REST API TO MiniProgram plugin for WordPress is vulnerab…5.3
- CVE-2026-34600Joplin is an open source note-taking and to-do application t…5.7
- CVE-2026-34601xmldom is a pure JavaScript W3C standard-based (XML DOM Leve…7.5
- CVE-2026-34602Chamilo LMS is an open-source learning management system. In…7.1
- CVE-2026-34603Tina is a headless content management system. Prior to versi…8.3
- CVE-2026-34604Tina is a headless content management system. Prior to versi…8.8
- CVE-2026-34606Frappe Learning Management System (LMS) is a learning system…6.1
- CVE-2026-34607Emlog is an open source website building system. In versions…7.2
- CVE-2026-34608NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging …8.2
- CVE-2026-3461The Visa Acceptance Solutions plugin for WordPress is vulner…9.8
- CVE-2026-34610The leancrypto library is a cryptographic library that exclu…5.9
- CVE-2026-34611WWBN AVideo is an open source video platform. In versions 26…6.5
Are you affected by CVE-2026-34605?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
