CVE-2026-47900 Stored XSS via Unsanitized Plugin Metadata in Logseq

Medium 4.6 Published Updated

A malicious plugin can execute arbitrary code in Logseq by injecting JavaScript into its package name, which is rendered without sanitization.

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-47900?

CVE-2026-47900 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 stored cross-site scripting (XSS). A malicious plugin can include a JavaScript payload in the "name" field of its "package.json" file, which is rendered using "innerHTML" without proper sanitization, allowing the execution of arbitrary code in the privileged host context. 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-47900?

How do I fix CVE-2026-47900?

No fix has been published for CVE-2026-47900 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-47900 being exploited?

There is no known exploitation of CVE-2026-47900 in the wild and no public exploit code.

Sources

Also known as GHSA-fff3-7r5v-99cq.

Is CVE-2026-47900 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free