Description
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.
Published: 2026-06-09
Score: 4.6 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw allows a sandboxed plugin running inside an iframe to inject arbitrary HTML attributes, including event handlers, into the container element that sits in the host Document Object Model. With the host’s Content Security Policy disabled, the injected code runs with the full privileges of the host application, which can access filesystem APIs and other privileged functions. This is a typical example of a cross‑site scripting weakness identified as CWE‑79 that can lead to unauthorized data access or modification if a malicious plugin is executed.

Affected Systems

The affected product is Logseq Logseq. The vulnerability was demonstrated in version 0.10.15; the status of other versions remains unknown and no patch has been released to address the issue yet.

Risk and Exploitability

The CVSS score of 4.6 places the flaw in the moderate range, and no EPSS score is currently available, indicating no known widespread exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is via a malicious or compromised plugin, which an attacker can supply to a user who enables it. If executed, this path grants JavaScript execution in the privileged context, which could provide broad access to the host’s filesystem and data. While the absence of public exploit evidence suggests limited risk, any environment that allows arbitrary plugin installation poses a moderate to high threat.

Generated by OpenCVE AI on June 9, 2026 at 15:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor’s official patch once it is released.
  • Disable or remove all untrusted or unnecessary plugins until the issue is fixed.
  • Reconfigure the application’s Content Security Policy to disallow unsafe-inline scripts and to block injection of attribute handlers from third‑party content.

Generated by OpenCVE AI on June 9, 2026 at 15:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Logseq
Logseq logseq
Vendors & Products Logseq
Logseq logseq

Tue, 09 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 09 Jun 2026 14:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Iframe escape by plugins in Logseq
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 4.6, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-06-09T14:47:13.609Z

Reserved: 2026-05-20T14:37:51.162Z

Link: CVE-2026-47901

cve-icon Vulnrichment

Updated: 2026-06-09T14:47:09.850Z

cve-icon NVD

Status : Deferred

Published: 2026-06-09T14:16:43.823

Modified: 2026-06-09T14:47:47.457

Link: CVE-2026-47901

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T16:00:06Z

Weaknesses