๐Ÿ” CVE Alert

CVE-2026-42045

MEDIUM 6.2

LobeHub: Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)

CVSS Score
6.2
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-79
Vendor lobehub
Product lobehub
Published May 12, 2026
Last Updated May 12, 2026
Stay Ahead of the Next One

Get instant alerts for lobehub lobehub

Be the first to know when new medium vulnerabilities affecting lobehub lobehub are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Affected Versions

lobehub / lobehub
< 2.1.48

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq