CVE-2025-6493CWE-1333CWE-400

CodeMirror Markdown Mode markdown.js redos

Medium · published June 22, 2025

CVSS v4.0
6.9
EPSS
1%
Percentile
44.4
In the wild
Unconfirmed
What it is

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."

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.00535 · 44.4th percentile
Weaknesses
CWE-1333 · Inefficient Regular Expression Complexity; CWE-400 · Uncontrolled Resource Consumption
Published
2025-06-22T22:00Z
EPSS history
Timeline
  • 22 JUN 22:00Z
    CodeMirror Markdown Mode markdown.js redos
    cvelistv5