CVE-2026-47901
MediumCVSS 4.6Exploitation Probability (EPSS)
Low risk4th percentile - higher than 4% of all known CVEs
Summary
Logseq is vulnerable to a sandbox escape flaw where plugins running in sandboxed iframes can inject arbitrary HTML attributes (e.g., event handlers) into their container element in the host DOM. Due to a disabled CSP, a malicious plugin can execute arbitrary JavaScript in the privileged host context, potentially gaining unauthorized access to filesystem APIs. Only version v0.10.15 was tested and confirmed vulnerable; status of other versions is unknown.
Risk Assessment
This vulnerability allows a malicious plugin to execute arbitrary code in the host context, potentially leading to full compromise of the filesystem and user data.
Recommendation
Exercise caution when installing Logseq plugins; consider using only trusted plugins until an official patch is released.
Other vulnerabilities in Logseq
See all- CVE-2026-9279High
Logseq exposes an IPC handler that allows the renderer process to execute shell commands. While an allowlist restricts the command name, the argument string is concatenated with the command and passed to child_process.spawn with the shell: true option, allowing shell metacharacters in the arguments to bypass the allowlist. An attacker with JavaScript execution in the renderer can execute arbitrary shell commands with the privileges of the Logseq process, leading to remote code execution on the host.
- CVE-2026-47900Medium
Logseq is vulnerable to stored XSS. A malicious plugin can include JavaScript in the "name" field of its package.json, rendered via innerHTML without sanitization, allowing arbitrary code execution in the host context.
- CVE-2026-47899High
The Electron preload script in Logseq exposes an API method that allows the renderer process to invoke IPC handlers without proper path validation. An attacker with JavaScript execution in the renderer (e.g. via XSS or a malicious plugin) can read, write, or delete arbitrary files on the user's system. The vulnerability was confirmed in version v0.10.15, status of other versions is unknown.
Original NVD description (English source)
Logseq is vulnerable to a sandbox escape flaw where plugins running in sandboxed iframes can inject arbitrary HTML attributes, such as event handlers, into their container element in the host DOM. Due to a disabled Content Security Policy (CSP), this allows a malicious plugin to execute arbitrary JavaScript in the privileged host context, potentially gaining unauthorized access to filesystem APIs. 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.

