Stored XSS to RCE in SiYuan genAVValueHTML attribute-view renderer
CVE-2026-54158 is a stored cross-site scripting vulnerability in SiYuan affecting versions prior to 3.7.0. The flaw is in the attribute-view (database) cell renderer function genAVValueHTML(), which interpolates cell content without proper escaping in at least four branches: text, url, phone, and mAsset. An attacker can place crafted payloads such as breaking out of surrounding tags with sequences like </textarea><img src=x onerror="..."> or "><img src=x onerror="..."> so that arbitrary JavaScript executes when a victim opens the block-attribute panel containing the malicious row. The malicious cell content is not escaped on input by the kernel and persists byte-for-byte in workspace AV files. Because those files are stored in the workspace and propagate through normal sync, a payload written once to a synced workspace can trigger on multiple devices that later open the affected panel. On Electron desktop deployments, the renderer runs with nodeIntegration:true, allowing the XSS to be chained into host-level remote code execution via Node.js APIs such as require('child_process').
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.
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.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.