XSS Vulnerability in SiYuan Personal Knowledge Management System
CVE-2026-32940

9.3CRITICAL

Key Information:

Status
Vendor
CVE Published:
20 March 2026

What is CVE-2026-32940?

The SiYuan Personal Knowledge Management System, in versions 3.6.0 and earlier, contains a vulnerability in its handling of SVG content. Specifically, the SanitizeSVG function has an incomplete blocklist that fails to block 'data:text/xml' and 'data:application/xml' MIME types. This oversight allows an attacker to craft a malicious URL leading to the '/api/icon/getDynamicIcon' endpoint, where user-controlled input is directly incorporated into SVG markup. If a victim navigates to the crafted URL, they may interact with the SVG, leading to execution of injected JavaScript when they click on an embedded link. This issue mandates direct navigation or specific HTML embedding techniques for exploitation. The vulnerability was addressed in version 3.6.1.

Affected Version(s)

siyuan < 3.6.1

References

CVSS V3.1

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.