CVE-2026-47901

Iframe escape by plugins in Logseq

Published Jun 9, 2026 CVSS 4.0 · 4.6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Logseq
Logseq logseq
Vendors & Products Logseq
Logseq logseq
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Jun 9, 2026, 2:47 PM
Reserved
May 20, 2026, 2:37 PM
Status
Deferred
Published
Jun 9, 2026, 2:16 PM
Modified
Jul 23, 2026, 8:10 AM