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.3%top 77%

CVE-2026-59855: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in siyuan-note siyuan

0
High
VulnerabilityCVE-2026-59855cvecve-2026-59855cwe-80
Published: 07/09/2026 (07/09/2026, 22:19:42 UTC)
Source: CVE Database V5
Vendor/Project: siyuan-note
Product: siyuan

Description

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, Asset.render in app/src/asset/index.ts interpolates the unsanitized this.path value into HTML assigned to innerHTML, allowing a crafted asset link containing a double quote to break out of the src attribute, inject an event handler, and execute JavaScript that can run OS commands in the Electron renderer. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

CVSS v4.0

Score 8.6high

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

Affected software

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

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/17/2026, 09:30:09 UTC

Technical Analysis

The vulnerability in SiYuan (CVE-2026-59855) is a CWE-80 improper neutralization of script-related HTML tags (basic XSS) in the Asset.render function located in app/src/asset/index.ts. Prior to version 3.7.1, the function interpolates the unsanitized this.path value into HTML assigned to innerHTML. An attacker can craft an asset link containing a double quote to break out of the src attribute, inject an event handler, and execute arbitrary JavaScript code. This JavaScript can run OS commands in the Electron renderer process, potentially leading to significant compromise. The issue is resolved in versions 3.7.1-alpha.2 and 3.7.1.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript code in the Electron renderer process, which can lead to running OS commands on the host system. This elevates the risk of remote code execution and system compromise. The vulnerability has a high CVSS 4.0 score of 8.6, indicating a high severity impact with network attack vector, low attack complexity, no privileges required, but user interaction needed.

Mitigation Recommendations

A fix is available and included starting from versions 3.7.1-alpha.2 and 3.7.1. Users should upgrade to at least version 3.7.1 to remediate this vulnerability. No other mitigation guidance is provided or required beyond applying the official update.

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
GitHub_M
Date Reserved
2026-07-07T15:41:53.606Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a50252a68715ace43310cf5

Added to database: 07/09/2026, 22:48:10 UTC

Last enriched: 07/17/2026, 09:30:09 UTC

Last updated: 08/23/2026, 22:52:12 UTC

Views: 109

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