{"data":{"id":"3a62c639-7cea-4e71-957c-bf6dad7ebbc9","title":"CVE-2026-42045: LobeHub is a work-and-lifestyle space to find, build, and collaborate with agent teammates that grow with you. Prior to…","summary":"LobeChat versions before 2.1.48 render custom tags in the Artifacts Portal through the default HTMLRenderer when no type matches, so LLM output containing malicious tags can trigger client-side XSS. The Electron main process exposes a runCommand IPC method that does not filter its command parameter, so an attacker who reaches window.parent.electronAPI through that XSS can run arbitrary system commands with the current user's privileges.","solution":"Fixed in 2.1.48.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42045","publishedAt":"2026-05-12T18:17:23.637Z","cveId":"CVE-2026-42045","cweIds":["CWE-79"],"cvssScore":"6.2","cvssSeverity":"medium","severity":"medium","attackType":["prompt_injection","other"],"issueType":"vulnerability","affectedPackages":["@lobehub/lobehub@<= 2.1.26"],"affectedPackageNames":["@lobehub/lobehub"],"affectedPackageRefs":["npm:@lobehub/lobehub"],"affectedVendors":[],"affectedVendorsRaw":["LobeHub","LobeChat"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"LobeHub Electron IPC runCommand allows arbitrary command execution via XSS","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:N","attackVector":"network","attackComplexity":"high","privilegesRequired":"high","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00319,"epssPercentile":0.26874,"epssCheckedAt":"2026-12-03T19:40:43.273Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/lobehub/lobehub/security/advisories/GHSA-xq4x-622m-q8fq"],"patchCommitUrls":null,"ssvcExploitation":"poc","nvdStatus":"Deferred","referencesCheckedAt":"2026-12-03T19:29:54.622Z","kevDateAdded":null,"advisoryAliases":["GHSA-xq4x-622m-q8fq"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:04:33.538Z","patchAvailable":null,"disclosureDate":"2026-05-12T18:17:23.637Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-198","CAPEC-86"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":true,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0051"],"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":null,"affectedPurls":["pkg:npm/%40lobehub/lobehub"],"owaspLlmIds":["LLM01:2025"],"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2026-05-12","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}