All vulnerabilities

npm

CVE-2026-137469

SiYuan 3.7.0 before 3.8.11 DOM XSS via AI Agent Chat Panel

Severity
High 7.7
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
3.8.11
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

SiYuan 3.7.0 before 3.8.11 contains a DOM-based cross-site scripting vulnerability in the AI agent chat panel, which renders final and saved assistant replies into innerHTML without HTML sanitisation. Attackers influencing model replies via indirect prompt injection or a configured model endpoint can inject event-handler markup, executing OS commands through Node.js integration in desktop local-kernel mode.

From the CVE Program.

Affected software

SoftwareAffected versions
siyuannpm · osv:npm:siyuan
  • From 3.7.0 before 3.8.11

About siyuan

Weekly downloads (npm)
711npm, 24 Nov 2026

Vulnerabilities in siyuan

In our list
4
Published in the last 12 months
4
Critical, last 12 months
1
High, last 12 months
3
Known exploited
0
Search the list for siyuan

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137469