Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MediumPublic exploit

Reflected XSS in SiYuan dynamic icon API

IdentifiersCVE-2026-29183CWE-79· Improper Neutralization of Input…

CVE-2026-29183 is an unauthenticated reflected cross-site scripting vulnerability in SiYuan, a personal knowledge management system, affecting versions prior to 3.5.9. The flaw is in the dynamic icon API endpoint GET /api/icon/getDynamicIcon when the request uses type=8. In the vulnerable code path, attacker-controlled input is embedded into SVG output without proper escaping, and the endpoint returns image/svg+xml. As a result, a crafted URL can inject executable SVG/HTML event handlers such as onerror, causing arbitrary JavaScript to execute in the SiYuan web origin when opened by a logged-in user.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows arbitrary JavaScript execution in the SiYuan web origin in the context of the victim user. Because the vulnerable endpoint is unauthenticated but executes in the authenticated user's browser session, the XSS can be chained to perform authenticated API actions on behalf of the victim and to exfiltrate sensitive data accessible to that origin. The provided context indicates high confidentiality and integrity impact, with no specific availability impact described.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict or disable access to the vulnerable dynamic icon endpoint where feasible, especially unauthenticated exposure of GET /api/icon/getDynamicIcon. Reduce the likelihood of exploitation by preventing users from opening untrusted SiYuan links and by placing the application behind access controls that limit attacker reachability. Additional browser-side hardening such as a restrictive Content Security Policy may reduce exploitability, but the available information does not confirm whether CSP is supported or effective for this endpoint in the affected deployment.

Remediation

Patch, then assume compromise.

Upgrade SiYuan to version 3.5.9 or later, where this issue has been patched. The underlying fix should ensure that attacker-controlled content included in the dynamic icon SVG response is properly escaped or otherwise prevented from being interpreted as executable SVG/HTML content in the type=8 code path of GET /api/icon/getDynamicIcon.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
B3logSiyuanapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity13

Community discussion across Reddit, Mastodon, and other social sources.