Skip to main content

Logseq CVE-2026-47900

| EUVDEUVD-2026-35437 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-09 CERT-PL GHSA-fff3-7r5v-99cq
4.6
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker crafts malicious plugin with XSS payload in package.json name
  2. Delivery
    Distributes plugin via marketplace or community channels
  3. Exploit
    User installs plugin in Logseq
  4. Execution
    Logseq renders package.json name via innerHTML without sanitization
  5. Persist
    JavaScript executes in privileged Electron host context
  6. Impact
    Arbitrary 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

logseq 0 ≤0.10.15

Affected Packages

euvd logseq no fix

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

Vendor (CERT-PL) PRIMARY 4.6 MEDIUM
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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 09, 2026 - 14:22 NVD
4.6 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Related Vulnerabilities in Logseq Electron IPC and XSS Vulnerabilities

View all 4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy