{"data":{"id":"8779946b-7be2-4525-92be-5a411419bfaf","title":"CVE-2025-58768: DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering…","summary":"DeepChat versions prior to 0.3.5 set user content directly through innerHTML in the Mermaid chart rendering component. Malicious content rendered via Mermaid triggers an exploit chain that leads to command execution, building on an incomplete fix for an existing XSS issue and matching the flow described in GHSA-hqr4-4gfc-5p2j, which runs arbitrary JavaScript via XSS and arbitrary commands via exposed IPC.","solution":"Version 0.3.5 contains an updated fix.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-58768","publishedAt":"2025-09-09T21:15:38.957Z","cveId":"CVE-2025-58768","cweIds":["CWE-94","CWE-79"],"cvssScore":"9.6","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["DeepChat"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"DeepChat command execution through Mermaid chart rendering","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00664,"epssPercentile":0.53158,"epssCheckedAt":"2026-12-03T18:26:46.624Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j"],"patchCommitUrls":null,"ssvcExploitation":"none","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:56:04.325Z","kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-12-03T19:44:06.394Z","patchAvailable":true,"disclosureDate":"2025-09-09T21:15:38.957Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-198","CAPEC-242","CAPEC-86"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":null,"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":null,"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2025-09-09","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":[]}}