s2
--:--:--UTC

Searching APEX

Starting…

  1. ○ Searching Threats, IOCs & Threat Intelligence locally
  2. ○ Querying external providers
  3. ○ Asking AI Forensic Validator
  4. ○ Creating new entry from validated hit

0s elapsed

CVE-2025-58768

📛 CVE Title

DeepChat's Mermaid rendering has XSS leading to RCE

Description

DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering component, there is a risky operation of directly using `innerHTML` to set user content. Therefore, any malicious content rendered via Mermaid will directly trigger the exploit chain, leading to command execution. This vulnerability is primarily caused by a failure to fully address the existing XSS issue in the project, leading to another exploit chain. The exploit chain is consistent with the report GHSA-hqr4-4gfc-5p2j, executing arbitrary JavaScript code via XSS and arbitrary commands via exposed IPC. Version 0.3.5 contains an updated fix.

Overview

State
PUBLISHED
Assigner (CNA)
GitHub_M
CVSS severity
CRITICAL
CVSS score
CVSS 9.7 / 10 9.7 9.7 / 10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Effective score
9.7 / 10 CRITICAL source: CNA overview
CWE(s)
CWE-94
Reserved
2025-09-04
Published
2025-09-09 22:19 UTC
Last updated
2025-09-09 22:31 UTC
Source
https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2025/58xxx/CVE-2025-58768.json
Linked Threat
CVE-2025-58768 — DeepChat's Mermaid rendering has XSS leading to RCE

NVD triage scoring NVD CVE 2.0

Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.

NVD published
2025-09-09 21:15:38 UTC
NVD last modified
2026-06-17 09:44:54 UTC
NVD CVSS v3.1
CVSS 9.6 / 10 9.6 9.6 / 10 CRITICAL source: security-advisories@github.com
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Exploitability subscore
2.8 / 10
Impact subscore
6.0 / 10
EPSS score
0.0056 (probability of exploitation in next 30 days)
EPSS percentile
43.39% vs all CVEs — higher = more likely to be exploited, as of 2026-08-06

NVD-assigned CWE(s): CWE-94, CWE-79 (differs from the CNA list above)

NVD / KEV / EPSS data refreshed 2026-08-06 22:32 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.

European Union Vulnerability Database ENISA EUVD

ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.

EUVD ID
EUVD-2025-27502
Assigner
GitHub_M
Published
Sep 9, 2025, 8:19:52 PM
Updated
Sep 9, 2025, 8:31:54 PM
EUVD base score (CVSS 3.1)
9.7 / 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EUVD-reported EPSS
0.2000
Vendors
ThinkInAIXYZ
Products
deepchat (< 0.3.5)

ENISA description: DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering component, there is a risky operation of directly using `innerHTML` to set user content. Therefore, any malicious content rendered via Mermaid will directly trigger the exploit chain, leading to command execution. This vulnerability is primarily caused by a failure to fully address the existing XSS issue in the project, leading to another exploit chain. The exploit chain is consistent with the report GHSA-hqr4-4gfc-5p2j, executing arbitrary JavaScript code via XSS and arbitrary commands via exposed IPC. Version 0.3.5 contains an updated fix.

EUVD references (1)

Affected products (1)

VendorProductVersionsPlatforms
ThinkInAIXYZ deepchat < 0.3.5 (affected) —

Affected products — CPE 2.3 (1) NVD

NVD's normalized CPE 2.3 matchers, used by vendor tools (vulnerability scanners, asset managers) for automated detection. Compare with the CNA's free-text "Affected products" section above.

  • cpe:2.3:a:thinkinai:deepchat:*:*:*:*:*:*:*:*

Vendor references (1)

References embedded in the original CVE record by the assigning CNA.

Web references (0)

DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.

No web references attached yet.

NVD-tagged references (1)

Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.

Remediations (18)

Remediations are stored against the linked Threat row; the list below is deduplicated across both pages.

  • web:zecurit.com

    Search CVE instantly with Zecurit's free CVE lookup tool. Access detailed vulnerability information, CVSS scores & security advisories from the NVD database.

    2026-09-26 03:18 UTC
  • web:learn.microsoft.com

    Learning path Learn how Microsoft supports secure software development as part of a cybersecurity solution - Training Secure software development means integrating security into each phase of your development lifecycle, from requirements analysis to maintenance. Microsoft provides many services that can help you develop more secure code and deploy a more secure application in the cloud. This ...

    2026-09-26 03:18 UTC
  • web:support.microsoft.com

    This out-of-band (OOB) update for Windows 11, version 25H2 and Windows 11, version 24H2 (KB5121768) is cumulative. It includes all improvements from previous security and non-security updates, along with an additional fix . Improvements This OOB update includes the following improvement: [System Performance] This update addresses an issue affecting a limited number of devices with an Intel ...

    2026-09-26 03:18 UTC
  • web:vercel.com

    Next.js 15.5.18 and 16.2.6 patch 13 security advisories covering middleware bypass, denial of service, SSRF, cache poisoning, and cross-site scripting.

    2026-09-26 03:18 UTC
  • web:wa.me

    Hosted by WhatsApp 2026 © WhatsApp LLC Privacy & Terms

    2026-09-26 03:18 UTC
  • web:www.cve.org

    At cve .org, we provide the authoritative reference method for publicly known information-security vulnerabilities and exposures

    2026-09-26 03:18 UTC
  • web:www.cvefind.com

    CVE Find is a real-time vulnerability database indexing 398 147 security flaws ( CVE ) from MITRE, NVD, CISA KEV, CWE and CAPEC. 2704 new CVEs were published in the last 7 days. Data aggregated from: MITRE Corporation ( CVE , CWE, CAPEC), National Vulnerability Database - NIST (NVD), CISA Known Exploited Vulnerabilities (KEV), FIRST (EPSS).

    2026-09-26 03:18 UTC
  • web:www.tenable.com

    Microsoft's August 2025 Patch Tuesday Addresses 107 CVEs ( CVE - 2025 -53779) By Research Special Operations Subscribe 13 Critical 91 Important 2 Moderate 1 Low Microsoft addresses 107 CVEs , including one zero-day vulnerability that was publicly disclosed.

    2026-09-26 03:18 UTC
  • web:blog.talosintelligence.com

    Thor analyzes CVE data from 2025 and provides recommendations for where and how organizations should strengthen their defenses.

    2026-05-22 14:41 UTC
  • web:www.lansweeper.com

    Which vulnerabilities, issues, and other things did Microsoft update? Discover what's new using Lansweeper's Patch Tuesday August 2025 summary.

    2026-05-22 14:41 UTC
  • web:www.nist.gov

    NIST maintains the National Vulnerability Database (NVD), a repository of information on software and hardware flaws that can compromise computer security. This is a key piece of the nation's cybersecurity infrastructure.

    2026-05-22 14:41 UTC
  • web:cisa.gov

    Update (08/12/ 2025 ): CISA has updated this alert to provide clarification on identifying Exchange Servers on an organization's networks and provided further guidance on running the Microsoft Exchange Health Checker. Update (08/07/ 2025 ): CISA issued Emergency Directive (ED) 25-02: Mitigate Microsoft Exchange Vulnerability in response to CVE - 2025 -53786

    2026-05-22 14:41 UTC
  • web:cvetodo.com

    CVE-2025-58768 is a CVSS 9.6 code injection in ThinkInAIXYZ's deepchat. Full technical analysis, mitigations , and exploit status — updated in real time.

    2026-05-22 14:41 UTC
  • web:krebsonsecurity.com

    Microsoft Corp. today issued security updates to fix more than 80 vulnerabilities in its Windows operating systems and software. There are no known "zero-day" or actively exploited vulnerabilities ...

    2026-05-22 14:41 UTC
  • web:www.securityweek.com

    Microsoft's August 2025 Patch Tuesday updates address critical vulnerabilities in Windows, Office, and Hyper-V.

    2026-05-22 14:41 UTC
  • web:msftnewsnow.com

    On August 12, 2025—a landmark Patch Tuesday—new reports reveal that thousands of Microsoft Exchange Servers are still unpatched and vulnerable to a high-severity flaw, despite urgent advisories from Microsoft and security agencies.

    2026-05-22 14:41 UTC
  • web:portal.msrc.microsoft.com

    The Security Update Guide provides information on the latest Microsoft security updates, helping users understand and address potential vulnerabilities effectively.

    2026-05-22 14:41 UTC
  • web:support.apple.com

    This document describes the security content of iOS 15.8.8 and iPadOS 15.8.8.

    2026-05-22 14:41 UTC

AI Forensic Analysis

Only Available for Registered Users. Sign in to view.

Raw JSON

The full cvelistV5 record. Download as CVE-2025-58768.json.

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-58768",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-09-09T20:31:37.670155Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-09-09T20:31:54.042Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "deepchat",
          "vendor": "ThinkInAIXYZ",
          "versions": [
            {
              "status": "affected",
              "version": "< 0.3.5"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering component, there is a risky operation of directly using `innerHTML` to set user content. Therefore, any malicious content rendered via Mermaid will directly trigger the exploit chain, leading to command execution. This vulnerability is primarily caused by a failure to fully address the existing XSS issue in the project, leading to another exploit chain. The exploit chain is consistent with the report GHSA-hqr4-4gfc-5p2j, executing arbitrary JavaScript code via XSS and arbitrary commands via exposed IPC. Version 0.3.5 contains an updated fix."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.7,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-94",
              "description": "CWE-94: Improper Control of Generation of Code ('Code Injection')",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-09T20:19:52.122Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-f7q5-vc93-wp6j"
        }
      ],
      "source": {
        "advisory": "GHSA-f7q5-vc93-wp6j",
        "discovery": "UNKNOWN"
      },
      "title": "DeepChat's Mermaid rendering has XSS leading to RCE"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2025-58768",
    "datePublished": "2025-09-09T20:19:52.122Z",
    "dateReserved": "2025-09-04T19:18:09.501Z",
    "dateUpdated": "2025-09-09T20:31:54.042Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}