Skip to content
6.9 Medium

CVE-2025-6493 A weakness has been identified in CodeMirror up to 5.65.20

Description

A weakness has been identified in CodeMirror up to 5.65.20. Affected is an unknown function of the file mode/markdown/markdown.js of the component Markdown Mode. This manipulation causes inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be exploited. Upgrading to version 6.0 is able to address this issue. You should upgrade the affected component. Not all code samples mentioned in the GitHub issue can be found. The repository mentions, that "CodeMirror 6 exists, and is [...] much more actively maintained."

Affected products and versions

Product Affected versions Fixed in
codemirror 6.0 earliest → < 6.0 6.0
codemirror 5.65 5.65.0 → 5.65.20 No fix stated
The 2 CVEs of codemirror →
Track this CVE