CVE-2026-34605
CVE-2026-34605 is a medium-severity vulnerability in B3log Siyuan with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 6.1)
- CVSS v4: 8.6
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-17687
- Weakness: CWE-79
- Affected product: B3log Siyuan
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-34605?
- 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.
- How severe is CVE-2026-34605?
- CVE-2026-34605 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2026-34605 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-34605?
- CVE-2026-34605 affects B3log Siyuan. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-34605?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-34605 have an EU (EUVD) identifier?
- Yes. CVE-2026-34605 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-17687.
- When was CVE-2026-34605 published?
- CVE-2026-34605 was published on 2026-03-31 and last updated on 2026-06-17.
References
- https://github.com/siyuan-note/siyuan/issues/17246
- https://github.com/siyuan-note/siyuan/releases/tag/v3.6.2
- https://github.com/siyuan-note/siyuan/security/advisories/GHSA-73g7-86qr-jrg3
Affected products (1)
- cpe:2.3:a:b3log:siyuan:*:*:*:*:*:*:*:*
More vulnerabilities in B3log Siyuan
- CVE-2026-32938 — Critical (CVSS 9.9): SiYuan is a personal knowledge management system. In versions 3.6.0 and below, the /api/lute/html2BlockDOM on the…
- CVE-2026-33670 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, the /api/file/readDir interface was used to…
- CVE-2026-33669 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.6.2, document IDs were retrieved via the…
- CVE-2026-32767 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Versions 3.6.0 and below contain an authorization bypass…
- CVE-2024-55660 — Critical (CVSS 9.8): SiYuan is a personal knowledge management system. Prior to version 3.1.16, SiYuan's `/api/template/renderSprig`…
- CVE-2024-53507 — Critical (CVSS 9.8): A SQL injection vulnerability was discovered in Siyuan 3.1.11 in /getHistoryItems.
All CVEs affecting B3log Siyuan →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →