CVE-2026-45375: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan versions up to 3. 6. 5 have a critical cross-site scripting (XSS) vulnerability in the Bazaar marketplace UI. The vulnerability arises because the Name and Version fields from plugin-related JSON files are rendered into the UI without proper HTML escaping, allowing malicious HTML to be executed when the marketplace tab is opened. This issue is fixed in version 3. 7. 0. The vulnerability has a CVSS score of 9. 0, indicating critical severity.
AI Analysis
Technical Summary
SiYuan, an open-source personal knowledge management system, prior to version 3.7.0, improperly neutralizes input during web page generation in its Bazaar marketplace UI. Specifically, the Name and Version fields from plugin.json and equivalent theme.json, template.json, widget.json, and icon.json files are rendered without HTML escaping. The kernel-side helper function only escapes Author, DisplayName, and Description fields, but not Name and Version. These unescaped fields are inserted into HTML template strings and assigned to innerHTML in the frontend, enabling execution of malicious HTML code when a user accesses the marketplace tab. This vulnerability is classified as CWE-79 (Cross-site Scripting) and CWE-116 (Improper Encoding or Escaping of Output). It is fixed in SiYuan version 3.7.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary HTML and script code in the context of the user's browser when they open the Bazaar marketplace tab. This can lead to full compromise of user session, data theft, or other malicious actions. The CVSS score of 9.0 reflects high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade SiYuan to version 3.7.0 or later where this vulnerability is fixed. Since the vulnerability is resolved in the official release, no additional mitigation is required beyond applying the update. Patch status is confirmed fixed in version 3.7.0.
CVE-2026-45375: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan versions up to 3. 6. 5 have a critical cross-site scripting (XSS) vulnerability in the Bazaar marketplace UI. The vulnerability arises because the Name and Version fields from plugin-related JSON files are rendered into the UI without proper HTML escaping, allowing malicious HTML to be executed when the marketplace tab is opened. This issue is fixed in version 3. 7. 0. The vulnerability has a CVSS score of 9. 0, indicating critical severity.
CVSS v3.1
Score 9.0critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SiYuan, an open-source personal knowledge management system, prior to version 3.7.0, improperly neutralizes input during web page generation in its Bazaar marketplace UI. Specifically, the Name and Version fields from plugin.json and equivalent theme.json, template.json, widget.json, and icon.json files are rendered without HTML escaping. The kernel-side helper function only escapes Author, DisplayName, and Description fields, but not Name and Version. These unescaped fields are inserted into HTML template strings and assigned to innerHTML in the frontend, enabling execution of malicious HTML code when a user accesses the marketplace tab. This vulnerability is classified as CWE-79 (Cross-site Scripting) and CWE-116 (Improper Encoding or Escaping of Output). It is fixed in SiYuan version 3.7.0.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary HTML and script code in the context of the user's browser when they open the Bazaar marketplace tab. This can lead to full compromise of user session, data theft, or other malicious actions. The CVSS score of 9.0 reflects high impact on confidentiality, integrity, and availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade SiYuan to version 3.7.0 or later where this vulnerability is fixed. Since the vulnerability is resolved in the official release, no additional mitigation is required beyond applying the update. Patch status is confirmed fixed in version 3.7.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-12T00:51:29.086Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a06e21cec166c07b0e8f08b
Added to database: 5/15/2026, 9:06:36 AM
Last enriched: 5/22/2026, 3:33:06 PM
Last updated: 6/6/2026, 2:56:46 PM
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.