{
  "id": "CVE-2026-45375",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45375",
  "published_at": "2026-05-14T18:13:12.889Z",
  "title": "SiYuan: Bazaar marketplace renders unescaped package `name` and `version` metadata, allowing stored XSS and Electron code execution",
  "vendor": "siyuan-note",
  "product": "siyuan",
  "cvss": {
    "score": 9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan's Bazaar (community marketplace) renders the name and version fields of a package's plugin.json (and the equivalent theme.json / template.json / widget.json / icon.json) into the Settings → Marketplace UI without HTML escaping. The kernel-side helper sanitizePackageDisplayStrings in kernel/bazaar/package.go HTML-escapes only Author, DisplayName, and Description — Name and Version flow through to the renderer raw. The frontend at app/src/config/bazaar.ts substitutes them into HTML template strings via ${item.preferredName} / ${data.name} / v${data.version} and assigns the result to innerHTML. As a consequence, malicious HTML in either field is parsed and executed when a user opens the marketplace tab. This vulnerability is fixed in 3.7.0.",
  "cwe": "CWE-79",
  "cvss_by_source": {
    "cna": 9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "siyuan-note",
        "product": "siyuan",
        "ranges": [
          "\u003c= 3.6.5"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "github.com/siyuan-note/siyuan/kernel",
        "ranges": [
          "\u003c= 0.0.0-20260421031503-96dfe0bea474"
        ],
        "fixed_in": null,
        "ecosystem": "Go",
        "advisory": "GHSA-27qc-m5gf-jv5r"
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/siyuan-note/siyuan/security/advisories/GHSA-27qc-m5gf-jv5r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
