CVE-2025-6492 MarkText index.js getRecommendTitleFromMarkdownString redos

Medium 6.9 Published Updated

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.

Weakness: CWE-400, CWE-1333

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.

Is CVE-2025-6492 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free