Skip to content
DayZeroHub
Critical CVSS 9.4CVE-2026-130679

SiYuan before 3.8.10: Stored XSS in Attribute View asset values (CVE-2026-130679)

siyuan-note siyuan

Summary

SiYuan versions before 3.8.10 contain a stored cross-site scripting vulnerability in genAVValueHTML() that, in the desktop app, can lead to OS command execution. The source lists a CVSS 4.0 score of 9.4 and critical severity.

What happened

The genAVValueHTML() function does not escape the image src attribute in Attribute View asset values. An attacker who can store such values can inject script through an image URL containing a double quote and an onerror handler. In the desktop app, that script can run OS commands via Node.js when the victim opens the bound note or the row attribute panel. The weakness is classified as CWE-79.

Why it matters

The source describes that exploitation can lead to OS command execution on the machine of a desktop app victim, which is consistent with the critical severity assigned (CVSS 4.0: 9.4, vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H, per CNA VulnCheck). It requires the attacker to be able to store asset values and the victim to open the affected note or panel. CISA's KEV catalog does not list this vulnerability as actively exploited, and the source does not indicate that it is a zero-day.

Affected products and versions

siyuan (vendor: siyuan-note): versions before 3.8.10 (< 3.8.10). Version 3.8.10 is listed as unaffected.

ProductVersionsFixed in
siyuan-note siyuan< 3.8.10—
siyuan-note siyuan3.8.103.8.10

Action recommended by the source

The vendor indicates that version 3.8.10 contains the fix. The source links a vendor security advisory (GHSA-3qqh-fmrp-8vfq) and a patch commit: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-3qqh-fmrp-8vfq and https://github.com/siyuan-note/siyuan/commit/3f4a2ca741411ebf0908ef1b7b86500a4ef4c20c. The source does not state other mitigations.

Fixed in: 3.8.10

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources