Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker publishes malicious Logseq plugin
-
DeliveryVictim installs and enables plugin
-
ExploitPlugin iframe injects JS event handler into host DOM element
-
ExecutionVictim interacts with poisoned DOM element
-
PersistEvent handler executes in privileged Electron renderer context
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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 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
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.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-35438
GHSA-jm26-ghmc-7c2w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB