cve.bz

CVE-2026-56397

9.4 criticalEPSS 0.5%

SiYuan before v3.6.1 fails to sanitize package metadata and README content in the Bazaar marketplace, allowing malicious package authors to inject arbitrary HTML and JavaScript. Attackers can achieve remote code execution on any user browsing the Bazaar by embedding XSS payloads in package displayName, description, or README fields, exploiting Electron's nodeIntegration setting to execute OS commands.

CVSS 4.0
9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CVSS 3.1
9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 42% of CVEs (scores of 2026-10-25)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v3mg-9v85-fcm7Gogithub.com/siyuan-note/siyuan/kernel<=0.0.0-20260313024916-fd6526133bb3no fix published
GO-2026-4720Gogithub.com/siyuan-note/siyuan/kernel<0.0.0-20260317012524-fe4523fff2c80.0.0-20260317012524-fe4523fff2c8

References

Check your stackJSON