Vulnerability 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 Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/codemirror/codemirror5/issues/7128
- https://vuldb.com/?ctiid.313610
- https://vuldb.com/?id.313610
- https://vuldb.com/?submit.598875
FAQ
What is CVE-2025-6493?
CVE-2025-6493 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 r...
How severe is CVE-2025-6493?
CVE-2025-6493 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-6493?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.