SecurityContext

CVE-2026-59855: SiYuan - Stored XSS

  • Cve: CVE-2026-59855
  • Name: SiYuan - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript and OS commands in the Electron renderer, potentially compromising the system.
  • Remediation: Update to version 3.7.1 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: remote_code_execution, client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.6
  • Cvss vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Epss score: 0.00387
  • Epss percentile: 0.33493
  • Assignee: [email protected]
  • Published at: 2026-07-09T23:17:06Z
  • Age in days: 138
  • Modified at: 2026-10-25T15:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59855
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/siyuan-note/siyuan/commit/efbe3a557720034782643e55c9e0282530cb6bbb
https://github.com/siyuan-note/siyuan/releases/tag/v3.7.1
https://github.com/siyuan-note/siyuan/security/advisories/GHSA-w3gq-5j72-36vc

Products

ProductAffectedPlatform boundSourcesUrl
b3log:siyuan< 3.7.1nocna_alias_text/v1/products/b3log/siyuan

Projects

RepositoryLink kindsIndexedUrl
siyuan-note/siyuancommit, fix, releases, security_advisoryyes/v1/repositories/siyuan-note/siyuan

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 354
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports