Unknown · Codemirror · CVE-2025-6493
Name of the Vulnerable Software and Affected Versions:
CodeMirror versions up to 5.17.0
Description:
A vulnerability was found in the Markdown Mode component, specifically in the file mode/markdown/markdown.js, leading to inefficient regular expression complexity. This issue can be exploited remotely. The problem is related to some unknown functionality of the component. It is noted that CodeMirror 6 is more actively maintained, implying that the vulnerable version may be outdated.
Recommendations:
For CodeMirror versions up to 5.17.0, consider updating to a newer version, as CodeMirror 6 is mentioned to be more actively maintained, which may include fixes for the issue. As a temporary workaround, consider restricting the use of the Markdown Mode component until a patch is available.