CVE-2026-42045 Details
Description
LobeHub is a work-and-lifestyle space to find, build, and collaborate with agent teammates that grow with you. Prior to 2.1.48, when LobeChat processes custom tags in the Render process of src/features/Portal/Artifacts/Body/Renderer/index.tsx, if no type match is found, it will choose to call the default method, HTMLRenderer, for HTML rendering. If an attacker can induce the LLM to output content containing malicious tags, an XSS vulnerability can be created on the client side. Additionally, Lobechat's Electron main process exposes an IPC interface called runCommand, used to invoke system commands. This interface allows arbitrary command execution and does not filter the command parameter. Therefore, if an attacker can obtain a handle to window.parent.electronAPI via XSS and call the runCommand method of the IPC, the ipcMain process can execute arbitrary system commands with the current user's privileges. This vulnerability is fixed in 2.1.48.
A cross-site scripting (XSS) vulnerability has been identified in the LobeHub Electron application, specifically in the LobeChat feature, prior to version 2.1.48. The issue arises when custom tags are processed in the rendering component. If no type match is found, the default HTMLRenderer method is called. This behavior can be exploited by inducing the language model to output content with malicious tags, creating an XSS vulnerability on the client side. Furthermore, LobeChat's Electron main process exposes an insecure inter-process communication (IPC) interface called runCommand, which allows arbitrary command execution. The runCommand method does not filter command parameters, enabling execution of system commands with the current user's privileges if an attacker can access window.parent.electronAPI via XSS.
Users should update to LobeHub version 2.1.48 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2026CISA-ADP
Assessed May 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LobeHub | <= 2.1.47 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | New CVE Received | [email protected] |
Volerion