CVE-2026-66396
CRITICAL
CVSS 9.3
siyuan
Verified Advisory
Stored XSS to OS RCE via unescaped style attribute in SiYuan (CVE-2026-66396)
SiYuan fails to escape the `title-img` Individual Attribute List value before interpolating it into the `style` attribute of cover images rendered in the Attribute-View Gallery and Kanban features. An attacker with editor permissions can inject an `onload` event handler that executes arbitrary code in the Electron renderer process with full Node.js access. In deployments with the Publish/MCP feature enabled, an unauthenticated network attacker can plant the malicious attribute without valid credentials.
Affected versions:
- 3.7.1
We recommend updating to: v3.7.2.
CVSS 9.3 · our assessment: act_now
Reference: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-5rxg-wh59-mg34
Details: https://vuln.today/cve/CVE-2026-66396
Verified by vuln.today against published advisories.
Affected versions
- – 3.7.1
Fixed in: v3.7.2
More advisories for siyuan
- CVE-2026-73608 – Missing authorization in SiYuan getAttributeViewSearchTarget endpoint (CVE-2026-73608)
- CVE-2026-72804 – Missing publish-password check in SiYuan graph API endpoints (CVE-2026-72804)
- CVE-2026-72795 – Publish-access bypass in SiYuan embedded block endpoints (CVE-2026-72795)
- CVE-2026-72794 – Session cookie signing key disclosure in siyuan via getConf endpoint (CVE-2026-72794)
- CVE-2026-72798 – Information disclosure in SiYuan publish-mode attribute view filter (CVE-2026-72798)
- CVE-2026-72793 – Sensitive configuration disclosure in SiYuan via /api/system/getConf (CVE-2026-72793)
- CVE-2026-72789 – Authorization bypass in SiYuan encrypted notebook publish access gate (CVE-2026-72789)
- CVE-2026-68584 – Authentication bypass in SiYuan publish-mode password-protected documents (CVE-2026-68584)