CVE-2025-6492 MarkText index.js getRecommendTitleFromMarkdownString redos
Remote attackers can cause denial of service in MarkText via inefficient regular expression complexity in title extraction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-6492?
CVE-2025-6492 is a medium-severity denial of service vulnerability in MarkText, published on 22 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-6492?
How do I fix CVE-2025-6492?
No fix has been published for CVE-2025-6492 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-6492 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6492 exists.
Sources
Also known as GHSA-295x-89h7-9wpm.