Skip to main content

Logseq CVE-2025-56683

CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2025-10-09 cve@mitre.org
9.6
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious plugin README.md
  2. Delivery
    Victim opens plugin in marketplace
  3. Exploit
    Unsanitized README renders injected JavaScript
  4. Execution
    Script executes in Electron renderer
  5. Impact
    Arbitrary code execution on host

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 view a plugin in Logseq's marketplace (/app/marketplace.html) whose README.md contains injected JavaScript; prior to the fix the README content was passed to setContent(content) without sanitization, so the markup executes in the renderer. Because Logseq is an Electron desktop application, this renderer-context XSS is what elevates to arbitrary code execution on the host (the 'RCE' tag and S:C/C:H/I:H/A:H). Limiting factors: user interaction is required (UI:R) - the attacker must get the malicious plugin/README in front of the victim and the victim must open it - and affected version v0.10.9 before the DOMPurify fix; no authentication is required (PR:N per the provided vector).

Impact

The signals are mostly aligned toward high severity but with one meaningful gate. The NVD/MITRE CVSS is 9.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H): network vector, low complexity, no privileges, but user interaction is required and the scope change plus full C/I/A reflect that an XSS in Logseq's Electron-based marketplace renderer escalates to code execution on the host (hence the 'RCE' tag). The vuln.today decision label is act_now, which argues for prompt remediation. Against that, the UI:R requirement means this is not a hands-off wormable bug - a victim must open/browse a plugin whose README.md carries injected script, so it depends on getting a malicious plugin in front of the user. There is no CISA KEV entry in the input and no EPSS score was provided, so exploitation-in-the-wild probability cannot be quantified from the data; absence of EPSS/KEV is not evidence of safety, only missing signal. A public PoC/advisory reference exists (martinkubecka advisory and the Attributed-CVEs writeup) but the input does not confirm it as working weaponized exploit code. Net: a genuine high-priority issue given the XSS-to-RCE impact and act_now label, but realistic exploitation hinges on the user-interaction/plugin-delivery step rather than mass unauthenticated exploitation.

Exploit ScenarioDerived

An attacker crafts a Logseq plugin whose README.md embeds malicious JavaScript and gets it rendered in the victim's marketplace view (/app/marketplace.html). Because Logseq renders the README content without sanitization and runs in an Electron desktop context, the injected script executes in the renderer and can escalate to arbitrary code execution on the victim's host. A public PoC reference exists; it is not verified as working exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Cross-site scripting in Logseq v0.10.9's marketplace page lets remote attackers run arbitrary JavaScript in the Electron renderer when a victim opens a crafted plugin README.md, and the assessed impact includes host code execution because of the desktop-app renderer context. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, so no authentication is required but the victim must interact with the malicious listing; the supplied data includes a public advisory and the upstream fix commit, with no CISA KEV or EPSS information provided.

RemediationAI

Apply the upstream Logseq fix in commit 4cdf49aedd8de073015b6945a529399c3bfa109a, which adds DOMPurify and sanitizes marketplace README content before it is passed to setContent; confirm that the deployed Logseq build contains this commit because the supplied data does not identify a tagged release version. The commit also changes the plugin URL check from location.href to location.host. The provided references point to https://github.com/logseq/logseq/commit/4cdf49aedd8de073015b6945a529399c3bfa109a and the advisory https://martinkubecka.sk/security-advisories/cve-2025-56683/; the available sources do not describe an alternative workaround, so applying the fix is the complete remediation.

Affected ProductsAI

Logseq v0.10.9 is the affected version identified in the CVE description, specifically the /app/marketplace.html component that renders plugin marketplace content. No CPE strings are supplied, and the provided data does not specify whether other Logseq versions are affected. The upstream fix is referenced in the logseq/logseq commit 4cdf49aedd8de073015b6945a529399c3bfa109a, and additional details are in the public advisory at https://martinkubecka.sk/security-advisories/cve-2025-56683/.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-79 cross-site scripting in the Logseq marketplace HTML resource. Prior to the fix, plugin README.md content was passed to setContent(content) in resources/marketplace.html without sanitization, so markup from a crafted README could execute in the renderer. The upstream commit adds DOMPurify (node_modules/dompurify/dist/purify.js), loads ./js/purify.js in marketplace.html, and replaces setContent(content) with setContent(DOMPurify.sanitize(content)); it also changes a plugin-source URL check in plugins.cljs from location.href to location.host. Because Logseq is an Electron desktop application, the assessed vector treats the renderer-context XSS as capable of arbitrary code execution on the host (S:C/C:H/I:H/A:H), while the trigger requires the victim to view the malicious plugin README in /app/marketplace.html (UI:R). No CPE data is provided.

Know when the next one hits your stack

  • 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

Vendor (mitre) PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 9.6 CRITICAL

Unauthenticated remote script injection in plugin README (PR:N, UI:R for viewing); Electron renderer XSS escapes to host code execution, giving S:C and full C/I/A.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

A cross-site scripting (XSS) vulnerability in the component /app/marketplace.html of Logseq v0.10.9 allows attackers to execute arbitrary code via injecting arbitrary Javascript into a crafted README.md file.

Executive ViewAI

Why It Matters

Logseq desktop application version 0.10.9 exposes users to a critical cross-site scripting vulnerability that can lead to host code execution when opening a malicious plugin README from the marketplace. This puts all Logseq users at risk of full system compromise, enabling data theft and further network intrusion. Leadership should prioritize remediation to protect sensitive corporate data and maintain user trust.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting plugin marketplace access, implementing application allowlisting for plugins, and user education to avoid untrusted READMEs.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source note-taking/PKM desktop app, sizable but not enterprise-ubiquitous userbase
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy