Stored and Reflected Cross-Site Scripting in SiYuan Product
CVE-2026-66394

9.3CRITICAL

Key Information:

Status
Vendor
CVE Published:
27 July 2026

What is CVE-2026-66394?

SiYuan versions prior to v3.7.3 are affected by stored and reflected cross-site scripting vulnerabilities stemming from improper SVG sanitization. This vulnerability allows authenticated attackers to inject executable scripts, effectively bypassing the HTML parser-cleaner. By embedding script tags within SVG elements such as desc, style, or noscript, attackers can manipulate the content, which the browser interprets as executable code in the application context when delivered as image/svg+xml. This could lead to unauthorized actions on behalf of the user or exposure of sensitive information.

Affected Version(s)

siyuan 0 < 3.7.3

siyuan 3.7.3

References

CVSS V4

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

JoyGhoshs
.