# CVE-2025-6492: MarkText index.js getRecommendTitleFromMarkdownString redos

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-22T20:00:14.265Z
- Modified: 2026-06-17T10:02:00.643Z
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- MarkText: 0.17.0; 0.17.1

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/mmmsssttt404/marktext/blob/c59b3ad423dfa082869933baf9f5d5c69bdcc560/test/unit/specs/match-electron-accelerator.spec.js#L155-L164> (exploit)
- <https://vuldb.com/?id.313609> (technical-description, vdb-entry)
- <https://vuldb.com/?ctiid.313609> (permissions-required, signature)
- <https://vuldb.com/?submit.598208> (third-party-advisory)
- <https://github.com/marktext/marktext/pull/3952> (issue-tracking)

## Sources

- CVE List: [CVE-2025-6492](https://www.cve.org/CVERecord?id=CVE-2025-6492), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-6492](https://nvd.nist.gov/vuln/detail/CVE-2025-6492), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6492 · Whole record: https://cve.day/CVE-2025-6492.json · Rebuilt by cve.day 2026-11-25T22:58:59.518Z
