CVE-2025-6493
MEDIUM EPSS 35.7%
Published Jun 22, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 4.0
Published Jun 22, 2025 1y ago
Last Modified Jun 17, 2026 1w ago
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."
CVSS Details
Base Score
Exploitability
Impact
Vector string
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:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
35.7% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 2
CWE-1333
CWE-400 Uncontrolled Resource Consumption Resource Mgmt
References 4
- github.com https://github.com/codemirror/codemirror5/issues/7128
- vuldb.com https://vuldb.com/?ctiid.313610
- vuldb.com https://vuldb.com/?id.313610
- vuldb.com https://vuldb.com/?submit.598875
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.