Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2025-6493

CodeMirror Markdown Mode markdown.js redos

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a CodeMirror

  • 5.65.0affected
  • 5.65.1affected
  • 5.65.2affected
  • 5.65.3affected
  • 5.65.4affected
  • 5.65.5affected
  • 5.65.6affected
  • 5.65.7affected
  • 5.65.8affected
  • 5.65.9affected
  • 5.65.10affected
  • 5.65.11affected
  • 5.65.12affected
  • 5.65.13affected
  • 5.65.14affected
  • 5.65.15affected
  • 5.65.16affected
  • 5.65.17affected
  • 5.65.18affected
  • 5.65.19affected
  • 5.65.20affected
  • 6.0unaffected

References