CVE-2026-56395 PUBLISHED

SiYuan - Remote Code Execution via Malicious Bazaar Package Metadata and README

Assigner: VulnCheck
Reserved: 21.06.2026 Published: 21.06.2026 Updated: 22.06.2026

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.

Metrics

CVSS Vector: CVSS: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 Score: 9.4

Product Status

Vendor SiYuan
Product SiYuan
Versions Default: unaffected
  • affected from 0 to 3.6.1 (excl.)
  • Version 3.6.1 is unaffected

Credits

  • 0xkakash1 reporter

References

Problem Types

  • Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE