Home / lobehub / lobehub / CVE-2026-42045
CVE-2026-42045: is it exploited, and which versions of lobehub are affected and fixed?
CVE-2026-42045 is a cross-site scripting (XSS) vulnerability in lobehub. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: @lobehub/lobehub through 2.1.26 (GitHub advisory GHSA-xq4x-622m-q8fq). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42045?
LobeHub: Cross-Site Scripting(XSS) escalate to Remote Code Execution(RCE)
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.
From the CVE record by GitHub_M, last updated May 12, 2026, 19:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| lobehub | lobehub | < 2.1.48 |
As the CVE record by GitHub_M states it, last updated May 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @lobehub/lobehub | <= 2.1.26 | none listed | GHSA-xq4x-622m-q8fq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 13, 2026. Summary: LobeHub has a Cross-Site Scripting issue that escalates to Remote Code Execution.
How severe is CVE-2026-42045?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42045 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 12, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 26.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 23, 2026
- Published
- May 12, 2026, 16:47 UTC
- CVE record updated
- May 12, 2026, 19:03 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:47 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect lobehub?
- Dec 2, 2026CVE-2026-142235 LobeHub: server-side request forgery (SSRF)
- Dec 2, 2026CVE-2026-142313 LobeHub: exposure of Private Personal Information to an Unauthorized Actor
- Sep 4, 2026CVE-2026-85621 lobehub: data authenticity not verified
- Jul 2, 2026CVE-2026-59100 lobehub: authorization bypass through a user-controlled key (IDOR)
- Jul 2, 2026CVE-2026-59098 lobehub: authorization bypass through a user-controlled key (IDOR)
- Jul 2, 2026CVE-2026-59095 lobehub: server-side request forgery (SSRF)
- Jul 2, 2026CVE-2026-58580 lobehub: authorization bypass through a user-controlled key (IDOR)
- Jul 2, 2026CVE-2026-58578 lobehub: regular expression denial of service (ReDoS)
Questions about CVE-2026-42045
Is CVE-2026-42045 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of lobehub are affected by CVE-2026-42045?
@lobehub/lobehub through 2.1.26, per the GitHub advisory GHSA-xq4x-622m-q8fq. The tables above give every range the sources list.
Which version fixes CVE-2026-42045?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-42045?
Medium (6.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42045?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.