CVE-2026-66396: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
SiYuan before v3.7.2 fails to escape the title-img Individual Attribute List value when rendering Gallery and Kanban cover images, allowing stored cross-site scripting via unescaped style attribute interpolation. Attackers with editor permissions can inject onload handlers that execute arbitrary code in the Electron renderer with full Node.js access when victims open affected documents.
AI Analysis
Technical Summary
The vulnerability in SiYuan note-taking software prior to version 3.7.2 arises from failure to properly escape user-controlled input in the title-img Individual Attribute List when rendering Gallery and Kanban cover images. This improper neutralization of input enables stored cross-site scripting attacks. Attackers who have editor permissions can inject onload event handlers that execute arbitrary code in the Electron renderer context, which has full access to Node.js APIs, potentially leading to full system compromise. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required beyond editor permissions, partial user interaction, and high impacts on confidentiality, integrity, availability, and security requirements. No patch or official fix information is available at this time.
Potential Impact
Successful exploitation allows attackers with editor permissions to execute arbitrary code in the Electron renderer process with full Node.js access. This can lead to complete compromise of the affected system, including unauthorized data access, modification, and potential system control. The vulnerability is critical due to the high privileges of the Electron environment and the ability to persist malicious code in stored documents.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict editor permissions to trusted users only and avoid opening documents from untrusted sources that may contain malicious cover image attributes.
CVE-2026-66396: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan
Description
SiYuan before v3.7.2 fails to escape the title-img Individual Attribute List value when rendering Gallery and Kanban cover images, allowing stored cross-site scripting via unescaped style attribute interpolation. Attackers with editor permissions can inject onload handlers that execute arbitrary code in the Electron renderer with full Node.js access when victims open affected documents.
CVSS v4.0
Score 9.3critical
Affected software
siyuan-note
siyuan
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in SiYuan note-taking software prior to version 3.7.2 arises from failure to properly escape user-controlled input in the title-img Individual Attribute List when rendering Gallery and Kanban cover images. This improper neutralization of input enables stored cross-site scripting attacks. Attackers who have editor permissions can inject onload event handlers that execute arbitrary code in the Electron renderer context, which has full access to Node.js APIs, potentially leading to full system compromise. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required beyond editor permissions, partial user interaction, and high impacts on confidentiality, integrity, availability, and security requirements. No patch or official fix information is available at this time.
Potential Impact
Successful exploitation allows attackers with editor permissions to execute arbitrary code in the Electron renderer process with full Node.js access. This can lead to complete compromise of the affected system, including unauthorized data access, modification, and potential system control. The vulnerability is critical due to the high privileges of the Electron environment and the ability to persist malicious code in stored documents.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict editor permissions to trusted users only and avoid opening documents from untrusted sources that may contain malicious cover image attributes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-26T12:22:34.139Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a6786039c2644c7f861a51f
Added to database: 07/27/2026, 16:23:31 UTC
Last enriched: 07/30/2026, 00:51:54 UTC
Last updated: 09/10/2026, 20:02:51 UTC
Views: 67
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.
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.