CodeMirror up to 5.65.20 Markdown Mode markdown.js redos

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in CodeMirror up to 5.65.20. Affected by this vulnerability is an unknown functionality of the file mode/markdown/markdown.js of the component Markdown Mode. Such manipulation leads to redos. This vulnerability is referenced as CVE-2025-6493. It is possible to launch the attack remotely. Furthermore, an exploit is available. The affected component should be upgraded. 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."

Detailsinfo

A vulnerability was found in CodeMirror up to 5.65.20 and classified as problematic. Affected by this issue is an unknown part of the file mode/markdown/markdown.js of the component Markdown Mode. The manipulation with an unknown input leads to a redos vulnerability. Using CWE to declare the problem leads to CWE-1333. The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. Impacted is availability.

The advisory is available at github.com. This vulnerability is handled as CVE-2025-6493. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known. This vulnerability is assigned to T1449.003 by the MITRE ATT&CK project.

The exploit is available at github.com. It is declared as proof-of-concept. The repository mentions, that "CodeMirror 6 exists, and is [...] much more actively maintained." Not all code samples mentioned in the GitHub issue can be found.

Upgrading to version 6.0 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-2088). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • SOS GmbH JobScheduler

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 5.3
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Redos
CWE: CWE-1333 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: CodeMirror 6.0

Timelineinfo

06/22/2025 🔍
06/22/2025 +0 days 🔍
09/30/2025 +99 days 🔍

Sourcesinfo

Advisory: 7128
Status: Confirmed

CVE: CVE-2025-6493 (🔍)
GCVE (CVE): GCVE-0-2025-6493
GCVE (VulDB): GCVE-100-313610
CERT Bund: WID-SEC-2025-2088 - SOS GmbH JobScheduler: Mehrere Schwachstellen

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 06/22/2025 08:22
Updated: 09/30/2025 01:34
Changes: 06/22/2025 08:22 (57), 06/23/2025 01:02 (31), 09/19/2025 12:10 (7), 09/29/2025 15:53 (9), 09/30/2025 01:34 (1)
Complete: 🔍
Submitter: DayShift
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #598875: codemirror codemirror5 <=5.17.0 Inefficient Regular Expression Complexity (by DayShift)

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!