Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts malicious plugin with XSS payload in package.json name
-
DeliveryDistributes plugin via marketplace or community channels
-
ExploitUser installs plugin in Logseq
-
ExecutionLogseq renders package.json name via innerHTML without sanitization
-
PersistJavaScript executes in privileged Electron host context
-
ImpactArbitrary code runs with host OS access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target user to actively install a malicious Logseq plugin - this is the primary limiting factor captured by the CVSS UI:A (active user interaction required) and AV:L (local) scores. The malicious plugin must contain a crafted 'name' field in its package.json manifest. No authentication to a remote system is involved; the attack is entirely local and plugin-driven. Exploitation is further constrained to environments where Logseq's plugin feature is enabled and accessible (which is the default configuration). The privileged host context escalation is contingent on Logseq's Electron renderer retaining Node.js API access - if Logseq were to enforce strict contextIsolation and sandbox settings, the impact would be limited to renderer-scoped XSS. Exploitation is NOT possible without user action to install the plugin; drive-by or network-only attack paths are not applicable under the current CVSS vector. |
| Impact | The CVSS 4.0 base score of 4.6 with vector AV:L/AC:L/AT:N/PR:N/UI:A reflects a local attack requiring active user interaction (plugin installation), which correctly limits opportunistic mass exploitation. However, the assigned score likely underweights the effective impact: the description explicitly states execution occurs in the 'privileged host context', and the CVE tags include 'RCE' alongside 'XSS' - signals that align with the well-documented Electron XSS-to-RCE escalation pattern where Node.js access is available in the renderer. The low CVSS impact sub-scores (VC:L, VI:L) appear inconsistent with host-level code execution capability; this discrepancy should be verified against the CERT-PL advisory. No EPSS score was provided, KEV status is negative, and no public exploit code has been identified, so widespread automated exploitation is not a current concern. The realistic threat model is a targeted or supply-chain attack: a threat actor publishes a malicious Logseq plugin to a plugin marketplace or distributes it directly, then waits for users to install it. The absence of a patch (confirmed by the reporter) is the most pressing risk signal. |
| Exploit ScenarioDerived | An attacker publishes a Logseq plugin to a public plugin marketplace or shares it via community channels (e.g., a forum post or GitHub repository), embedding a JavaScript payload such as a Node.js child_process.exec call within the plugin's package.json 'name' field. A Logseq user discovers and installs the plugin; when Logseq renders the plugin's metadata via innerHTML in its privileged Electron renderer, the payload executes with host-level privileges, enabling actions such as reading local files, establishing persistence, or spawning a reverse shell. No public proof-of-concept exploit code has been identified at time of analysis, but the technique is well-understood in the Electron security community. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Stored XSS in Logseq's plugin subsystem escalates to arbitrary code execution within the privileged Electron host context due to unsanitized innerHTML rendering of plugin metadata. When a user installs a malicious plugin whose package.json 'name' field contains a JavaScript payload, the payload executes with Electron's elevated privileges - a context in which Node.js APIs are accessible, making the effective impact closer to local code execution than a conventional browser-scoped XSS. Reported by CERT-PL, version v0.10.15 is confirmed vulnerable, no patch exists, and no public exploit has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; the CERT-PL reporter confirmed this issue was not addressed by a patch. Until a fix is released, the primary compensating control is to install only plugins from sources you explicitly trust, preferably auditing the plugin's package.json 'name' field manually before installation to confirm it contains no HTML or JavaScript constructs. Users and organizations should disable or restrict the Logseq plugin feature entirely if third-party plugins are not a business requirement - this eliminates the attack surface at the cost of losing plugin functionality. Security-conscious Logseq deployments should also monitor for Logseq updates at https://logseq.com/ and track the CERT-PL advisory at https://cert.pl/en/posts/2026/06/CVE-2026-9279/ for patch availability. Electron-specific hardening (enabling contextIsolation and sandbox in the renderer) would be the appropriate developer-side fix, but this must be implemented by the Logseq maintainers and cannot be applied by end users.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Logseq is an Electron-based, open-source knowledge management and note-taking application (CPE: cpe:2.3:a:logseq:logseq:*:*:*:*:*:*:*:*). As an Electron application, its renderer process operates with access to Node.js APIs unless contextIsolation and sandbox restrictions are rigorously enforced. The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): the plugin loader reads the 'name' field from a third-party plugin's package.json manifest and injects it directly into the DOM via innerHTML without sanitizing or encoding the value. In a standard browser this would be sandboxed XSS, but because Logseq's renderer retains privileged host context (typical of Electron apps that have not fully sandboxed their renderer), JavaScript executing there can invoke Node.js system APIs, elevating the impact to code execution on the host operating system.
Know when Logseq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (CERT-PL) · only source for this CVE.
CVSS VectorVendor: CERT-PL
Lifecycle Timeline
1DescriptionCVE.org
Logseq is vulnerable to a stored cross-site scripting (XSS). A malicious plugin can include a JavaScript payload in the "name" field of its "package.json" file, which is rendered using "innerHTML" without proper sanitization, allowing the execution of arbitrary code in the privileged host context. While only version v0.10.15 was tested and confirmed as vulnerable, status of other versions is unknown since this issue was not addressed by a patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-35437
GHSA-fff3-7r5v-99cq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB