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."
Scores
CVSS v3
5.3
EPSS
0.0031
EPSS Percentile
54.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-1333
CWE-400
Status
published
Products (22)
n/a/CodeMirror
5.65.0
n/a/CodeMirror
5.65.1
n/a/CodeMirror
5.65.10
n/a/CodeMirror
5.65.11
n/a/CodeMirror
5.65.12
n/a/CodeMirror
5.65.13
n/a/CodeMirror
5.65.14
n/a/CodeMirror
5.65.15
n/a/CodeMirror
5.65.16
n/a/CodeMirror
5.65.17
... and 12 more
Published
Jun 22, 2025
Tracked Since
Feb 18, 2026