{"cve":"CVE-2026-42045","nvd":{"published":"2026-05-12T18:17:23.637","modified":"2026-06-17T10:47:21.783","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.2},"cwes":["CWE-79"],"references":["https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq","https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:35:16.954578616+00:00"},"epss":{"cve":"CVE-2026-42045","score":0.00266,"percentile":0.18525,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xq4x-622m-q8fq","url":"https://osv.dev/vulnerability/GHSA-xq4x-622m-q8fq","summary":"LobeHub has a Cross-Site Scripting issue that escalates to Remote Code Execution","modified":"2026-05-13T16:33:36.818743Z","packages":[{"ecosystem":"npm","name":"@lobehub/lobehub","purl":"pkg:npm/%40lobehub/lobehub","ranges":["<=2.1.26"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}