{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.17.0"
              },
              {
                "last_affected": "0.17.0"
              },
              {
                "introduced": "0.17.1"
              },
              {
                "last_affected": "0.17.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "637395a1f78278e375e0753c7b18e7833a6b9d58"
            },
            {
              "last_affected": "c8aa33ddcd41184ecac3bd5e67451569b32d8e38"
            }
          ],
          "repo": "https://github.com/marktext/marktext",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.17.0",
        "0.17.1"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-1333",
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6492.json"
  },
  "details": "A vulnerability has been found in MarkText up to 0.17.1 and classified as problematic. Affected by this vulnerability is the function getRecommendTitleFromMarkdownString of the file marktext/src/main/utils/index.js. The manipulation leads to inefficient regular expression complexity. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.",
  "id": "CVE-2025-6492",
  "modified": "2026-07-15T01:48:52.725555229Z",
  "published": "2025-06-22T20:00:14.265Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6492.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-6492"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.313609"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.598208"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/marktext/marktext/pull/3952"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.313609"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/mmmsssttt404/marktext/blob/c59b3ad423dfa082869933baf9f5d5c69bdcc560/test/unit/specs/match-electron-accelerator.spec.js#L155-L164"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MarkText index.js getRecommendTitleFromMarkdownString redos"
}