Name of the Vulnerable Software and Affected Versions:
MarkText versions up to 0.17.1
Description:
A vulnerability has been found in MarkText, affecting 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.
Recommendations:
For MarkText versions up to 0.17.1, consider disabling the `getRecommendTitleFromMarkdownString` function until a patch is available to prevent potential remote attacks. Restrict access to the marktext/src/main/utils/index.js file to minimize the risk of exploitation. Avoid using the `getRecommendTitleFromMarkdownString` function in remote operations until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.