MediumVulnerabilityLLM-specific
CVE-2026-42045: LobeHub Electron IPC runCommand allows arbitrary command execution via XSS
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-42045
- Published
- Record updated
Summary
LobeChat versions before 2.1.48 render custom tags in the Artifacts Portal through the default HTMLRenderer when no type matches, so LLM output containing malicious tags can trigger client-side XSS. The Electron main process exposes a runCommand IPC method that does not filter its command parameter, so an attacker who reaches window.parent.electronAPI through that XSS can run arbitrary system commands with the current user's privileges.
Mitigation
Fixed in 2.1.48.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online