Remote command execution via unsanitized Mermaid content
Published Jan 18, 2026 · Updated Jan 18, 2026
Stored XSS in LobeHub before 2.0.0-next.180 allows remote attackers to run system commands through a rendered Mermaid artifact. The artifact Renderer passes user- or AI-generated content directly to Mermaid without sanitization, so HTML event handlers execute in the application DOM and can invoke the exposed electronAPI IPC bridge. A victim must render the malicious artifact in the Electron desktop client; commands then run on the victim's machine with the client's privileges.
Summary
What happened
Stored XSS in LobeHub before 2.0.0-next.180 allows remote attackers to run system commands through a rendered Mermaid artifact. The artifact Renderer passes user- or AI-generated content directly to Mermaid without sanitization, so HTML event handlers execute in the application DOM and can invoke the exposed electronAPI IPC bridge. A victim must render the malicious artifact in the Electron desktop client; commands then run on the victim's machine with the client's privileges.
The record
- CVE
- CVE-2026-23733
- Published
- Jan 18, 2026
- Updated
- Jan 18, 2026
- Vendor
- LobeHub
- Product
- LobeHub
- Classifications
- CWE-94, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 18, 2026CVE publishedPublication date reported by the CVE source.
- Jan 18, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.0.0-next.180
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-4gpc-rhpj-9443 Mermaid artifact proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo