Skip to main content

Logseq EUVDEUVD-2026-35438

| CVE-2026-47901 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-09 CERT-PL GHSA-jm26-ghmc-7c2w
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 publishes malicious Logseq plugin
  2. Delivery
    Victim installs and enables plugin
  3. Exploit
    Plugin iframe injects JS event handler into host DOM element
  4. Execution
    Victim interacts with poisoned DOM element
  5. Persist
    Event handler executes in privileged Electron renderer context
  6. Impact
    Attacker code accesses filesystem and host APIs

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 victim to install and activate a malicious Logseq plugin - this is the mandatory prerequisite and the primary limiting factor. The CVSS AV:L (local) and UI:A (active user interaction) confirm that remote unauthenticated exploitation is not possible; the attacker's code must reach the victim through the plugin distribution channel and the user must voluntarily install it. The vulnerability further requires that the injected event handler attribute be triggered by user interaction with the affected host DOM element (e.g., mouse movement, click). The disabled Content Security Policy in the host context is a necessary enabling condition: if a CSP were present and restricting inline scripts, the injected handlers would be blocked by the browser even if attribute injection succeeded. Users who run Logseq with no plugins installed, or exclusively with plugins from audited trusted sources, are not at practical risk. The vulnerability does not expose a network-accessible attack surface and cannot be triggered by a remote third party without first achieving plugin code execution on the victim's Logseq instance.

Impact

The CVSS 4.0 score of 4.6 appropriately reflects a constrained attack surface. The vector AV:L (local) and UI:A (active user interaction) together mean exploitation is not opportunistic - the victim must deliberately install and activate a malicious plugin, which is a meaningful barrier. PR:N indicates no special system privileges are needed by the attacker to author a plugin. The confidentiality and integrity impacts are rated Low (VC:L/VI:L) against the vulnerable system with no impact on subsequent systems, which may understate risk if Logseq's filesystem API grants broad local file read/write access in practice; this should be verified against Logseq's plugin API surface documentation. No EPSS score was provided in the source data, making probabilistic exploitation likelihood assessment impossible. This CVE is not in the CISA KEV catalog, and no public exploit or POC has been identified at time of analysis. In practical terms, this is a real but targeted risk: users who install untrusted third-party Logseq plugins are the at-risk population, while users running no plugins or only curated plugins face negligible exposure. The lack of a CSP is a defense-in-depth failure worth remediating independently of the specific plugin injection vector.

Exploit ScenarioDerived

An attacker publishes a malicious Logseq plugin to the plugin marketplace or distributes it via a community forum; when the victim installs and enables the plugin, it injects a JavaScript event handler attribute (e.g., onmouseover) into the plugin's container element in the host DOM. Because Logseq's host context has no Content Security Policy, the event handler fires as privileged Electron renderer JavaScript the next time the user's cursor passes over the element, granting the attacker's code access to Logseq's filesystem APIs for reading local notes and potentially writing arbitrary files. No public exploit code has been identified at time of analysis, so this scenario is based on the described vulnerability mechanism rather than a confirmed working exploit.

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

Logseq's plugin sandbox can be escaped by a malicious plugin that injects arbitrary HTML event handler attributes into its host DOM container element, executing JavaScript in the privileged Electron renderer context. The attack is enabled by a disabled Content Security Policy in the host context, which removes the browser-level barrier that would otherwise block inline event handler execution. Only v0.10.15 has been confirmed vulnerable by CERT-PL; no patch has been released, and the vulnerability status of all other versions remains unknown. No public exploit code has been identified and this CVE is not listed in the CISA KEV catalog.

RemediationAI

No vendor-released patch has been identified at time of analysis. As the most direct compensating control, users should disable all third-party Logseq plugins immediately if sensitive local data is accessible - this eliminates the attack vector entirely but removes all plugin functionality as a trade-off. For users who require plugins, restricting usage strictly to plugins with audited, publicly available source code significantly reduces exposure, since the attack requires the attacker to control plugin code. Users should monitor https://logseq.com/ and the Logseq GitHub repository for a patch release addressing the missing Content Security Policy and the attribute injection pathway. Organizations should audit their plugin inventory and remove any plugins from unknown or unverified authors pending a vendor fix. The CERT-PL advisory at https://cert.pl/en/posts/2026/06/CVE-2026-9279/ should be tracked for updates on patch availability.

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 a local-first, Electron-based knowledge management application that supports third-party plugins running inside sandboxed iframes to isolate them from the host environment. The vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) arises because the application fails to sanitize or restrict which HTML attributes plugin content can inject into its container element in the host DOM. A plugin can therefore inject JavaScript event handlers such as onmouseover or onclick directly into the host DOM tree. Critically, the Logseq host context operates without a Content Security Policy, meaning there is no browser-enforced restriction preventing these injected inline event handlers from executing. Once triggered by user interaction with the affected DOM element, the injected JavaScript runs in the Electron renderer's privileged context, where Logseq's filesystem APIs and potentially Node.js integration are accessible. The affected CPE is cpe:2.3:a:logseq:logseq:*:*:*:*:*:*:*:*, though only v0.10.15 has been empirically confirmed vulnerable.

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% 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.

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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