---
title: "CVE-2026-45375: SiYuan Bazaar marketplace renders unescaped package `name` and `version` metadata, allowing stored XSS and Electron code execution"
url: https://erroneo.us/security/cve/CVE-2026-45375/
description: "CVE-2026-45375 (github.com/siyuan-note/siyuan/kernel (Go)): SiYuan is an open-source personal knowledge management system. Prior to 3.7.0, SiYuan's Bazaar…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-14
date_modified: 2026-05-16
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-45375"
kev: false
cvss: 9
epss: 0.00413
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-45375: SiYuan Bazaar marketplace renders unescaped package `name` and `version` metadata, allowing stored XSS and Electron code execution

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.4% , percentile 34: FIRST’s model estimates a 0.4% chance of exploitation activity in the next 30 days, higher than 34% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Needs an account (low (any account)). Exposure depends on who can log in.
- Only applies if your dependency tree includes github.com/siyuan-note/siyuan/kernel (Go) <= 0.0.0-20260421031503-96dfe0bea474, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Go `github.com/siyuan-note/siyuan/kernel` <= 0.0.0-20260421031503-96dfe0bea474 → fixed: none listed

## Affected products (CVE record)

- siyuan-note siyuan: <= 3.6.5

## Severity

- GitHub_M CVSS 3.1: 9 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.0 `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.41% probability of exploitation activity in the next 30 days; percentile 34.

## Sources

- [GitHub Advisory GHSA-27qc-m5gf-jv5r](https://github.com/advisories/GHSA-27qc-m5gf-jv5r)
- [CVE.org record CVE-2026-45375](https://www.cve.org/CVERecord?id=CVE-2026-45375)
- [NVD entry CVE-2026-45375](https://nvd.nist.gov/vuln/detail/CVE-2026-45375)
- [github.com](https://github.com/siyuan-note/siyuan/security/advisories/GHSA-27qc-m5gf-jv5r)

---
Source page: https://erroneo.us/security/cve/CVE-2026-45375/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
