CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-6493: CodeMirror Markdown Mode markdown.js redos

5.3 CVSS

Description

A vulnerability was found in CodeMirror up to 5.17.0 and classified as problematic. Affected by this issue is some unknown functionality of the file mode/markdown/markdown.js of the component Markdown Mode. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. 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." Eine Schwachstelle wurde in CodeMirror bis 5.17.0 gefunden. Sie wurde als problematisch eingestuft. Davon betroffen ist unbekannter Code der Datei mode/markdown/markdown.js der Komponente Markdown Mode. Dank der Manipulation mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung.

Classification

CVE ID: CVE-2025-6493

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.3

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Problem Types

Inefficient Regular Expression Complexity Resource Consumption

Affected Products

Vendor: n/a

Product: CodeMirror

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.05% (probability of being exploited)

EPSS Percentile: 15.96% (scored less or equal to compared to others)

EPSS Date: 2025-06-30 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-6493
https://vuldb.com/?id.313610
https://vuldb.com/?ctiid.313610
https://vuldb.com/?submit.598875
https://github.com/codemirror/codemirror5/issues/7128

Timeline