CyberRota Analysis
AI-GeneratedThe vulnerability affects SiYuan, an open-source personal knowledge management system, where unsanitized input in the Asset.render function allows for HTML injection, potentially enabling an attacker to execute arbitrary JavaScript and OS commands within the Electron renderer. Users running versions prior to 3.7.1 should prioritize updating to the fixed versions (3.7.1-alpha.2 and 3.7.1) to mitigate the risk of exploitation. This issue is particularly relevant for developers and organizations utilizing SiYuan for knowledge management, as it poses a significant security threat.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.