Home

Description

EN DE

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

In CodeMirror up to 5.65.20 wurde eine Schwachstelle gefunden. Hierbei geht es um eine nicht exakt ausgemachte Funktion der Datei mode/markdown/markdown.js der Komponente Markdown Mode. Durch Beeinflussen mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung. Das Problem kann durch ein Upgrade auf Version 6.0 adressiert werden. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.

PUBLISHED Reserved 2025-06-22 | Published 2025-06-22 | Updated 2025-09-29 | Assigner VulDB




MEDIUM: 6.9CVSS: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
MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
MEDIUM: 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
5.0AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C

Problem types

Inefficient Regular Expression Complexity

Resource Consumption

Timeline

2025-06-22:Advisory disclosed
2025-06-22:VulDB entry created
2025-09-29:VulDB entry last update

Credits

DayShift (VulDB User) reporter

References

vuldb.com/?id.313610 (VDB-313610 | CodeMirror Markdown Mode markdown.js redos) vdb-entry technical-description

vuldb.com/?ctiid.313610 (VDB-313610 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/?submit.598875 (Submit #598875 | codemirror codemirror5 <=5.17.0 Inefficient Regular Expression Complexity) third-party-advisory

github.com/codemirror/codemirror5/issues/7128 exploit issue-tracking

cve.org (CVE-2025-6493)

nvd.nist.gov (CVE-2025-6493)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.