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…

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/23/2026, 12:37:40 UTC

Technical Analysis

CVE-2026-65605 is a stored cross-site scripting vulnerability in SiYuan note-taking software before version 3.7.2. The issue occurs in the Attribute View's database cell rendering where a Template column value is rendered as HTML using text/template without sufficient escaping. The EscapeHTML function is conditionally applied only when unclosed HTML tags are detected, but balanced self-closing tags like <img> are skipped, allowing payloads such as <img src=x onerror=...> to be stored unescaped. When the database is viewed, this payload is inserted into the page via innerHTML, triggering script execution. Because the desktop renderer enables nodeIntegration, 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 code in the context of the SiYuan desktop application. Due to nodeIntegration being enabled, this can escalate to arbitrary command execution on the host machine, posing a critical security risk including full system compromise.

Mitigation Recommendations

A fix is available in SiYuan version 3.7.2 and later. Users should upgrade to version 3.7.2 or newer to remediate this vulnerability. Patch status is not explicitly confirmed in the vendor advisory, but the affected versions are stated as prior to 3.7.2, indicating the issue is resolved in 3.7.2. No additional mitigation steps are provided.

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/23/2026, 12:37:40 UTC

Last updated: 07/23/2026, 21:19:41 UTC

Views: 31

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