Read the docs
TI-2026-30424 Aliases CVE-2026-42045GHSA-xq4x-622m-q8fq

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

Priority MEDIUM 61CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting, Code execution
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79 and CWE-78.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00266 18th percentileScored 2026-11-07
Fix Fixed lobehub (lobehub): 2.1.48

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
lobehublobehubbefore 2.1.482.1.48Patch availableCNA
—@lobehub/lobehub (npm)up to 2.1.26—No fix listedGHSA-xq4x-622m-q8fq
  • lobehub Vendorlobehub Affected before 2.1.48 Fixed in 2.1.48 Patch available CNA
  • @lobehub/lobehub (npm) Vendor— Affected up to 2.1.26 Fixed in — No fix listed GHSA-xq4x-622m-q8fq

Remediation

  • Fix · CNA lobehub (lobehub) Fixed in 2.1.48

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42045
  2. 2026-10-03 Alias added: GHSA-xq4x-622m-q8fq

References

  • TI-2026-39067 LobeHub: Unauthenticated SSRF in `/webapi/proxy` CVSS 3.1CRITICAL 9.0
  • TI-2026-83681 Path traversal in LobeHub Chat lets users write arbitrary files CVSS 4.0HIGH 8.7
  • TI-2024-31448 Lobe Chat has insufficient fix for GHSA-mxhq-xw3g-rphc (CVE-2024-32964) CVSS 3.1CRITICAL 9.0
  • TI-2024-21831 lobe-chat `/api/proxy` endpoint Server-Side Request Forgery vulnerability CVSS 3.1CRITICAL 9.0
  • TI-2026-58746 LobeChat 2.2.1 Webhook Signature Verification Bypass QQ Feishu CVSS 4.0MEDIUM 6.9
  • TI-2024-21832 ssrf vulnerability in lobe-chat CVSS 3.1HIGH 8.6
See all 21 →

Sources