CVE-2026-45375
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSiYuan 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSiYuan's Bazaar marketplace feature has a stored XSS vulnerability where the Name and Version fields from plugin.json (and similar JSON files) are rendered in the Settings → Marketplace UI without HTML escaping. While the kernel helper sanitizePackageDisplayStrings escapes Author, DisplayName, and Description, the Name and Version fields flow through to the frontend raw, where they are inserted into innerHTML via template strings, allowing arbitrary JavaScript execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check SiYuan application versionOpen SiYuan, go to Settings → About, or check the installation directory for version information. The version is typically displayed in the UI footer or in the application's config/data files.Affected if The installed version is earlier than 3.7.0 (versions 3.6.x and earlier are affected)
-
Verify Bazaar marketplace feature is accessibleNavigate to Settings → Marketplace in the SiYuan application. The vulnerability exists in this marketplace UI where plugin information is displayed.Affected if The Marketplace UI is accessible and displays plugin information from plugin.json files
-
Identify installed plugins with plugin.json filesLocate the plugins directory in the SiYuan data folder (typically named plugins or workspace/plugins). Examine each plugin.json file for the Name and Version fields.Affected if Any plugins are installed with plugin.json files containing Name and Version fields that could contain unsanitized input
-
Inspect rendered marketplace display for escapingIn the Marketplace UI, view plugin details. The vulnerability allows Name and Version fields to be inserted into innerHTML without escaping. If you can view page source or use browser dev tools, check if Name/Version values appear unescaped in HTML context.Affected if The Name and Version fields from plugin.json render as raw HTML in the marketplace UI without HTML entity encoding
A user is affected if they are running SiYuan version earlier than 3.7.0 and have access to the Bazaar marketplace feature where plugins with plugin.json files are displayed.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate SiYuan to version 3.7.0 or later which includes proper HTML escaping for the Name and Version fields in the sanitizePackageDisplayStrings function.
SiYuan 3.7.0
- Ensure you have a backup of your SiYuan data before upgrading
- Download SiYuan version 3.7.0 or later from the official releases (github.com/siyuan-note/siyuan/releases)
- Stop the current SiYuan instance
- Install version 3.7.0 following standard installation procedures
- Restart SiYuan and verify the marketplace functionality works correctly
- Confirm the upgrade was successful by checking the SiYuan version in Settings → About
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,848.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45375 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45375 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data