Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 46%

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

0
Critical
VulnerabilityCVE-2026-65605cvecve-2026-65605
Published: 07/23/2026 (07/23/2026, 11:42:13 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan before v3.7.2 contains a stored cross-site scripting vulnerability in Attribute View (database) cell rendering. A Template column value is rendered as HTML via text/template without auto-escaping, and EscapeHTML is only applied when HasUnclosedHtmlTag returns true; because balanced self-closing tags such as <img> are skipped by that check, a payload like <img src=x onerror=...> is stored unescaped and later inserted into the page via innerHTML, executing when the database is viewed. Because the desktop renderer runs with nodeIntegration enabled, the injected script can reach require and escalate to arbitrary command execution.

CVSS v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

GitHub Actionsmore threats →ai
siyuan-note/siyuan
pkg:github/siyuan-note/siyuan
Affected versions
<3.7.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 22:26:26 UTC

Technical Analysis

CVE-2026-65605 is a stored cross-site scripting vulnerability in SiYuan note-taking software prior to version 3.7.2. The issue occurs in the Attribute View database cell rendering where a Template column value is rendered as HTML via text/template without proper auto-escaping. The EscapeHTML function is conditionally applied only when unclosed HTML tags are detected, but balanced self-closing tags like <img> bypass this check. An attacker can store a payload such as <img src=x onerror=...> which is inserted into the page via innerHTML and executed when the database is viewed. Because the desktop renderer has nodeIntegration enabled, the injected script can access Node.js require and escalate to arbitrary command execution on the user’s system.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the SiYuan application, leading to remote code execution on the host system due to nodeIntegration being enabled in the desktop renderer. This can result in full system compromise of the affected host running vulnerable versions of SiYuan.

Mitigation Recommendations

A fixed version 3.7.2 or later addresses this vulnerability. Users should upgrade to SiYuan version 3.7.2 or newer to remediate this issue. Patch status is not explicitly confirmed in the provided data, but the version boundary indicates the fix is included starting with 3.7.2. No alternative mitigations are specified.

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-22T10:48:36.000Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6207979c2644c7f80b649d

Added to database: 07/23/2026, 12:22:47 UTC

Last enriched: 07/30/2026, 22:26:26 UTC

Last updated: 09/06/2026, 22:52:13 UTC

Views: 106

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