CVE-2026-65606CWE-79cross-site-scripting

CVE-2026-65606

Critical · published July 23, 2026

CVSS v3.1
9.6
EPSS
1%
Percentile
55.8
In the wild
Unconfirmed
What it is

SiYuan before v3.7.2 contains a cross-site scripting vulnerability in the siyuan:// protocol handler. When a siyuan://plugins/<name> link references a name that is not an installed plugin, the application opens a custom tab and inserts the link's icon parameter into the tab header via innerHTML without escaping it (app/src/layout/Tab.ts), allowing injection of an <img onerror=...> element. Because the SiYuan Desktop renderer runs with nodeIntegration:true, the injected JavaScript can access Node's require and call require('child_process').execSync(...), escalating the cross-site scripting into arbitrary operating-system command execution.

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00790 · 55.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-23T16:18Z
References (4)
EPSS history
Timeline
  • 23 JUL 11:42Z
    SiYuan before v3.7.2 Cross-Site Scripting to RCE
    cvelistv5