PT-2026-37247

CVE-2026-42045

·

Published

2026-05-05

·

Updated

2026-05-19

Description by

CVSS 3.1
6.2
Medium
MetricsAV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions LobeHub versions prior to 2.1.48
Description A stored cross-site scripting (XSS) issue exists in the message rendering mechanism. When processing custom tags in the src/features/Portal/Artifacts/Body/Renderer/index.tsx render process, the software defaults to using the HTMLRenderer function for HTML rendering if no type match is found. An attacker can induce a Large Language Model (LLM) to output content containing malicious tags to trigger this XSS on the client side.
Furthermore, the Electron main process exposes an insecure Inter-Process Communication (IPC) interface called runCommand to invoke system commands. This interface does not filter the command parameter, allowing arbitrary command execution. By obtaining a handle to window.parent.electronAPI via XSS and calling the runCommand method, an attacker can execute arbitrary system commands with the privileges of the current user, leading to remote code execution (RCE).
Recommendations Update to version 2.1.48.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-XQ4X-622M-Q8FQ
Found an issue in the description? Have something to add? Feel free to write us 👾