Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE-2026-29183
Summary
An unauthenticated reflected XSS vulnerability exists in the dynamic icon API endpoint: "GET /api/icon/getDynamicIcon" When "type=8", attacker-controlled content is embedded into SVG output without escaping. Because the endpoint is unauthenticated and returns "image/svg+xml", a crafted URL can inject executable SVG/HTML event handlers (for example onerror) and run JavaScript in the SiYuan web origin. This can be chained to perform authenticated API actions and exfiltrate sensitive data when a logged-in user opens the malicious link. This affects versions prior to v3.5.9 .
- LOW
- NETWORK
- LOW
- CHANGED
- REQUIRED
- NONE
- LOW
- NONE
CWE-79 - Cross Site Scripting
Cross-Site Scripting, commonly referred to as XSS, is the most dominant class of vulnerabilities. It allows an attacker to inject malicious code into a pregnable web application and victimize its users. The exploitation of such a weakness can cause severe issues such as account takeover, and sensitive data exfiltration. Because of the prevalence of XSS vulnerabilities and their high rate of exploitation, it has remained in the OWASP top 10 vulnerabilities for years.
References
Advisory Timeline
- Published