CVE-2026-47901 Iframe escape by plugins in Logseq
Malicious plugins can escape sandboxing to execute arbitrary JavaScript and access filesystem APIs due to disabled CSP.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-47901?
CVE-2026-47901 is a medium-severity cross-site scripting vulnerability in logseq, published on 9 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-47901?
How do I fix CVE-2026-47901?
No fix has been published for CVE-2026-47901 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-47901 being exploited?
There is no known exploitation of CVE-2026-47901 in the wild and no public exploit code.
Sources
Also known as GHSA-jm26-ghmc-7c2w.