BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-41421 in Electron products

High 8.8

SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, SiYuan desktop renders notification messages as raw HTML inside an Electron renderer. The notification route POST /api/notification/pushMsg accepts a user-controlled msg value, forwards it through the backend broadcast layer, and the fron...

Affects 0 products from 3 vendors. Facts below cite their sources.

CVSS 3.18.8
EPSS0.2%
EPSS percentile6th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Electron — —
Javascript — —
Windows — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

SiYuan is an open-source personal knowledge management system. Prior to 3.6.5, SiYuan desktop renders notification messages as raw HTML inside an Electron renderer. The notification route POST /api/notification/pushMsg accepts a user-controlled msg value, forwards it through the backend broadcast layer, and the frontend inserts it into the DOM with insertAdjacentHTML(...) at message.ts. On desktop builds, this is not limited to ordinary XSS. Electron windows are created with nodeIntegration: true, contextIsolation: false, and webSecurity: false at main.js. As a result, JavaScript executed from the notification sink can directly access Node APIs and escalate to desktop code execution. This vulnerability is fixed in 3.6.5.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-41421
BreachSpider IDBS-2026-GLOBAL-152533-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published2026-04-24
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

Show all 11

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

SiYuan desktop versions prior to 3.6.5 are vulnerable to Cross-Site Scripting (XSS) due to improper handling of user-controlled input in notification messages.

The vulnerability arises from the fact that the notification route POST /api/notification/pushMsg accepts a user-controlled msg value, which is then forwarded through the backend and inserted into the DOM using insertAdjacentHTML(...) without proper sanitization. This allows an attacker to inject malicious scripts into the notification messages, leading to potential XSS attacks.

Questions

What is CVE-2026-41421?

SiYuan desktop versions prior to 3.6.5 are vulnerable to Cross-Site Scripting (XSS) due to improper handling of user-controlled input in notification messages.

What is the CVSS score for CVE-2026-41421?

CVE-2026-41421 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.2%.

Is CVE-2026-41421 actively exploited?

No confirmed active exploitation of CVE-2026-41421 as of 2026-09-25.

How do I remediate CVE-2026-41421?

Priority: IMMEDIATE.

What systems are affected by CVE-2026-41421?

CVE-2026-41421 affects Electron; Javascript; Windows.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Electron","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.