CVE-2025-6492 Details
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.
A denial-of-service vulnerability has been identified in MarkText versions through 0.17.1. The issue arises in the function 'getRecommendTitleFromMarkdownString' within 'marktext/src/main/utils/index.js', where an inefficient regular expression can be exploited to cause excessive CPU usage, potentially leading to application freezing or a denial-of-service condition. This vulnerability can be triggered remotely without authentication, by embedding maliciously crafted code blocks into the parsed Markdown, which the regular expression fails to process efficiently.
No known mitigation is available for this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 22, 2025CISA-ADP
Assessed Jun 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/marktext/marktext/pull/3952 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/mmmsssttt404/marktext/blob/c59b3ad423dfa082869933baf9f5d5c69bdcc560/test/unit/specs/match-electron-accelerator.spec.js#L155-L164 | [email protected] | Source Code |
| https://vuldb.com/?ctiid.313609 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.313609 | [email protected] | AdvisoryExploit |
| https://vuldb.com/?submit.598208 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| MarkText | 0.17.0 (semver) 0.17.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2025 | New CVE Received | [email protected] |
Volerion