Skip to main content
EPSS 0.3%top 78%

CVE-2026-66396: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in siyuan-note siyuan

0
Critical
VulnerabilityCVE-2026-66396cvecve-2026-66396
Published: 07/27/2026 (07/27/2026, 15:43:46 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

siyuan-note

siyuan

Affected versions
>=0 <3.7.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 00:51:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses