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

Published Jun 22, 2025
·
Updated

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

Affected Software

2 affected components
codemirror Markdown Mode<=5.65.20
IBM Knowledge Catalog Standard Cartridge<=5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1, 5.1.1, 5,1.2, 5.1.3, 5.2.0, 5.2.1

Event History

Jun 22, 2025
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Mar 25, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-6493?

CVE-2025-6493 is classified as a problematic vulnerability due to inefficient regular expression complexity.

2

How do I fix CVE-2025-6493?

To mitigate CVE-2025-6493, upgrade to a version of CodeMirror newer than 5.17.0.

3

What versions of CodeMirror are affected by CVE-2025-6493?

CVE-2025-6493 affects CodeMirror versions up to and including 5.17.0.

4

What component of CodeMirror is vulnerable in CVE-2025-6493?

The vulnerability in CVE-2025-6493 is found in the file mode/markdown/markdown.js of the Markdown Mode component.

5

What type of issue is associated with CVE-2025-6493?

CVE-2025-6493 is associated with a performance issue due to inefficient regular expression complexity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203