Vulnerabilities

CVE-2025-6493

Medium 5.5 CVSS 4.0

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

Description as published by the source, in English.

Key facts

Published
2025-06-22
Last modified
2026-06-17
Assigned by
cna@vuldb.com
CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Scored by
cna@vuldb.com
Probability of exploitation
0.5 % higher than 37 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
n/a CodeMirror 5.65.0 Affected
n/a CodeMirror 5.65.1 Affected
n/a CodeMirror 5.65.10 Affected
n/a CodeMirror 5.65.11 Affected
n/a CodeMirror 5.65.12 Affected
n/a CodeMirror 5.65.13 Affected
n/a CodeMirror 5.65.14 Affected
n/a CodeMirror 5.65.15 Affected
n/a CodeMirror 5.65.16 Affected
n/a CodeMirror 5.65.17 Affected
n/a CodeMirror 5.65.18 Affected
n/a CodeMirror 5.65.19 Affected
n/a CodeMirror 5.65.2 Affected
n/a CodeMirror 5.65.20 Affected
n/a CodeMirror 5.65.3 Affected
n/a CodeMirror 5.65.4 Affected
n/a CodeMirror 5.65.5 Affected
n/a CodeMirror 5.65.6 Affected
n/a CodeMirror 5.65.7 Affected
n/a CodeMirror 5.65.8 Affected
n/a CodeMirror 5.65.9 Affected
n/a CodeMirror 6.0 Not affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1499: Endpoint Denial of Service impact

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities